This example runs a simulation of the small molecule Alanine Dipeptide and streams logs and RMSD. RMSD is a metric for judging how similar two molecular states are for the same model.
The easiest way to install OpenMM is to use the Anaconda distribution of Python and run conda install -c https://conda.anaconda.org/omnia openmm
If you do not wish to use Anaconda, install OpenMM from source by following the instructions in the OpenMM docs
cd path/to/simstream/examples/openmm_example
python openmm_log_consumer.py
cd path/to/simstream/examples/openmm_example
python openmm_rmsd_consumer.py
cd path/to/simstream/examples/openmm_example
python openmm_streamer.py application/sim.out application/trajectory.dcd application/input.pdb application/input.pdb
cd path/to/simstream/examples/openmm_example/application
python alanine_dipeptide.py > sim.out
The Logfile Consumer should now be printing tagged log entries to the screen; the RMSD Consumer should be printing the calculated RMSD each time the trajectory file is written.