OpenMM Used by MolForge
Scriptable molecular dynamics in Python, very fast on GPUs and the engine beneath many machine-learning frameworks.
Tool 029 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

What OpenMM is
OpenMM is a library for molecular dynamics (MD), the simulation of atomic motion under a force field. Unlike most MD programs it is designed to be driven from code rather than from input files: a Python or C++ program builds a system, picks an integrator and runs steps. Its distinctive feature is custom forces, where a user types an algebraic expression for an interaction and OpenMM compiles it at run time into GPU kernels.
A script reads coordinates and topology from PDB, PDBx, AMBER prmtop, CHARMM psf or GROMACS top files, applies a force field stored in XML (AMBER, CHARMM, AMOEBA and Open Force Field families are available) and adds solvent and ions with the Modeller class. Reporters write DCD or XTC trajectories and state data. The same code runs on CUDA, OpenCL or CPU platforms. OpenMM is the engine beneath openmmtools, perses and YANK for free energies, OpenMM-Torch and openmm-ml for neural network potentials, and Folding@home.
OpenMM has few analysis tools of its own and expects users to pair it with MDTraj or MDAnalysis. Scaling across many nodes is not its focus.
Features
- Python and C++ APIs with simulations assembled in code
- Custom force classes compiled from algebraic expressions at run time
- CUDA, OpenCL, CPU and reference platforms sharing one code path
- Readers for AMBER, CHARMM, GROMACS and PDB or PDBx files
- XML force fields including AMBER, CHARMM36 and AMOEBA
- Custom integrators, Langevin and Brownian dynamics, and Monte Carlo barostats
- Plug-in system used by OpenMM-Torch, openmm-ml and PLUMED
What it is for
- Run GPU molecular dynamics of proteins and ligands from a Python notebook
- Prototype a new interaction form without writing a kernel
- Drive alchemical free-energy workflows with openmmtools or perses
- Combine a classical force field with a neural network potential
Verified facts
| Family | Classical molecular dynamics |
|---|---|
| Language or basis | GPU library |
| Repository | https://github.com/openmm/openmm (GitHub) |
| Licence | No licence detected by GitHub; read the repository before reuse |
| Main language on GitHub | C++ |
| Last commit | 2026-11-25 |
| Latest release | 8.6.1 (2026-09-11) |
| Stars | 2,053 on 2026-11-28 |
| Open issues and pull requests | 393 on 2026-11-28 |
| Repository created | 2013-05-20 |
| Verified | 2026-11-28 by MolForge's checking script, against the host's API |
Where OpenMM fits
Force-field simulation engines for biomolecules, materials and soft matter. AMBER is commercial (AmberTools is free) and NAMD is free under its own licence.
OpenMM appears in this chain of the directory: Biomolecular molecular dynamics.
It is the first place to look when you want simulating atomic motion (MD).
Questions people ask
- Does OpenMM run on GPUs?
- Yes. The CUDA platform targets NVIDIA cards and the OpenCL platform runs on NVIDIA, AMD and Intel GPUs. A CPU platform and a slow reference platform exist for testing. The same script runs on any of them; the platform is chosen at run time or detected automatically.
- How is OpenMM different from GROMACS?
- GROMACS is a complete program with command-line tools, bundled force fields and its own file formats. OpenMM is a library that a script controls, with an emphasis on flexibility: custom forces, custom integrators and plug-ins for machine learning. GROMACS workflows are often reproduced in OpenMM when the project needs code-level control.
- What input does OpenMM need?
- Coordinates and a topology. The simplest route is a PDB file plus one of the bundled XML force fields, after which Modeller adds missing hydrogens, water and ions. OpenMM also loads systems prepared elsewhere: AMBER prmtop and inpcrd, CHARMM psf with parameter files, or GROMACS top and gro files.
- Can OpenMM use machine-learned potentials?
- Yes. The OpenMM-Torch plug-in adds a force defined by a PyTorch model, and openmm-ml wraps published potentials such as ANI and MACE so that part or all of a system can be described by a neural network while the rest uses a classical force field.
- Where is the OpenMM source code?
- At https://github.com/openmm/openmm (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
- Is OpenMM still maintained?
- The last commit was pushed on 2026-11-25 and the latest tagged release is 8.6.1 from 2026-09-11; the repository had 393 open issues and pull requests on 2026-11-28.
- Does MolForge use OpenMM?
- MolForge's molecular dynamics tool runs OpenMM 8.1.2 with openmmtools, in explicit solvent, from the API image's conda environment. A nanosecond is priced at 250 credits and a simulation that exceeds our two-hour limit is refunded.
How MolForge uses OpenMM
MolForge's molecular dynamics tool runs OpenMM 8.1.2 with openmmtools, in explicit solvent, from the API image's conda environment. A nanosecond is priced at 250 credits and a simulation that exceeds our two-hour limit is refunded.
Test status
Service tests with mocks in the server suite; the paid end-to-end run is QA test MF-44. A short real run in nightly CI is on the roadmap.