Complete source code and samples:

Download OpenMD


MD5sum: a5f694877a54e2a93cb18e22ea74cdfa
SHA256: fe849f0ed4e3940070544f9fdebde2441614311cc51a847caf3aa71cf684d5b8
rmd160: d43328911c02be878b3e3c5cfdf670b1d95cbd63

Alternatively you can use git to get a copy of the bleeding edge version of OpenMD:

git clone

be warned that bleeding edge versions may not run (or even compile), and almost certainly haven’t been tested.


You can use our tutorial for installing the rerequisites for OpenMD.   If you are going it alone, and have some experience building and installing unix software, you’ll need:

  1. A C++ compiler. We build and test OpenMD on the following architecture & compiler combinations:
    Architecture CXX Notes
    macOS Sonoma (intel & arm) c++ (Apple clang 15, Open MPI 5.0.0)
    Linux (Ubuntu 23.04 – Intel x86_64) g++ (GNU v. 12.3, Open MPI 4.1.4)
    Linux (RHEL 8.7 – Intel x86_64) icpc (Intel 19.1.3, Open MPI 4.0.1)

    OpenMD uses features in the standard template library (STL).  Most modern C++ compilers support these features.

  2. CMake, a cross-platform build system. Most Linux and some Unix distributions provide CMake as a standard package. If not, please download it, and make sure you get a recent version. Mac OS X users can either download the CMake installer or install it from the command line using macports.
  3. An implementation of MPI-2 is optional for the single processor version of OpenMD, but is required if you want OpenMD to run in parallel. We like OpenMPI. Other implementations of MPI-2 also work, but we don’t test them as extensively.
  4. Other optional (but quite useful) libraries that will unlock some important features of OpenMD: Open BabelQhullFFTWDoxygen
  5. Some of the utility scripts depend on Python and Perl. These interpreters are common installations on most flavors of Unix and macOS.

Building OpenMD

Once you’ve got all the prerequisites installed and working, you can follow our tutorial on building and installing OpenMD.