Skip to main content

OpenMM command line script

Project description

This program sets up and runs an OpenMM simulation in a user-friendly way. It is roughly equivalent to to grompp/mdrun in Gromacs, dynamic in Tinker, and pmemd in Amber.

To install this package, run python install. The only dependencies are python and OpenMM.

For the short help, run openmm -h. To get help on all available options, run openmm –help-all.

You need to provide coordinates and specify a force field. Coordinates may come from a .pdb file. Built-in protein force fields and water models are shown in the help text, and you may add your own OpenMM force field XML files. Alternatively, you may provide AMBER inpcrd/prmtop files.

You may provide simulation options through the command line; all options are given in the help text. Every time this program executes, it makes a ‘configuration file’ which you may use as input for future runs using the –config argument. The command line options take priority over those in the configuration file. This provides a convenient way to customize your default options.

Some nice features include:

1) Extensive validation of options and checking dependencies / conflicts between options.

2) Reports your simulation progress, including speed in ns/day and time left.

3) You may use units from simtk.unit on the command line when specifying options with physical units.

  1. Suggestions are provided for typos on the command line.

5) Restart files that contain state information (coordinates, velocities, and unit cell vectors) from the previous run.

This program is provided as an option for users to use OpenMM without needing to write a Python script. To take advantage of the full flexibility of OpenMM as a domain-specific language for molecular dynamics simulation, check out the OpenMM Script Builder located at

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
openmm-0.2.tar.gz (3.5 MB) Copy SHA256 hash SHA256 Source None Feb 28, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page