Large-scale Atomic/Molecular Massively ParallelSimulator (LAMMPS) is a classical molecular dynamics code with a focus on materials modeling.
LAMMPS has potentials for solid-state materials (metals, semiconductors) and soft matter (biomolecules, polymers) and coarse-grained or mesoscopic systems. It can be used to model atoms or, more generically, as a parallel particle simulator at the atomic, meso, or continuum scale.
LAMMPS runs on single processors or in parallel using message-passing techniques and a spatial-decomposition of the simulation domain. Many of its models have versions that provide accelerated performance on CPUs, GPUs, and Intel Xeon Phis. The code is designed to be easy to modify or extend with new functionality.
This is free and open source software.
Key Features
- Runs on a single processor or in parallel.
- Distributed memory message-passing parallelism (MPI).
- Shared memory multi-threading parallelism (OpenMP).
- Spatial decomposition of simulation domain for MPI parallelism.
- Particle decomposition inside spatial decomposition for OpenMP and GPU parallelism.
- Highly portable C++-11.
- Modular code with most functionality in optional packages.
- Only depends on MPI library for basic parallel functionality, MPI stub for serial compilation.
- Other libraries are optional and only required for specific packages.
- GPU (CUDA, OpenCL, HIP, SYCL), Intel Xeon Phi, and OpenMP support for many code features.
- Easy to extend with new features and functionality.
- Runs from an input script.
- Syntax for defining and using variables and formulas.
- Syntax for looping over runs and breaking out of loops.
- Run one or multiple simulations simultaneously (in parallel) from one script.
- Build as library, invoke LAMMPS through library interface (from C, C++, Fortran) or provided Python wrapper or SWIG based wrappers.
- Couple with other codes: LAMMPS calls other code, other code calls LAMMPS, umbrella code calls both, MDI coupling interface.
- Call out to Python for computing forces, time integration, or other tasks.
- Plugin interface for loading external features at runtime.
- Large integrated collection of tests.
Website: www.lammps.org
Support: GitHub Code Repository
Developer: Sandia Corporation
License: GNU General Public License v2.0

LAMMPS is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| Chemistry Tools | |
|---|---|
| GROMACS | Versatile package to perform molecular dynamics |
| tomviz | Process, visualize, and analyze 3D tomographic data |
| Psi4 | Ab initio quantum chemistry software |
| NWChem | Ab initio computational chemistry software package |
| PyMOL | OpenGL molecular graphics system written in Python |
| LAMMPS | Classical molecular dynamics simulator |
| CP2K | Atomistic simulations of solid state, liquid, molecular and biological systems |
| RDKit | Cheminformatics and machine-learning software |
| GAMESS | General ab initio quantum chemistry package |
| Avogadro | Advanced molecular editor |
| OpenMM | High-performance toolkit for molecular simulation |
| Gabedit | Graphical user interface to computational chemistry packages |
| Open Babel | Converts and manipulates chemical data files |
| Jmol | Viewer for three-dimensional chemical structures |
| pyscf | Quantum chemistry framework |
| Kalzium | Full-featured chemistry application for KDE 5 |
| Ketcher | Web-based chemical structure editor |
| XDrawChem | 2D editor for chemical structures and reactions |
| Cantera | Chemical kinetics, thermodynamics, and transport tool suite |
| Orac | OpenMP/MPI molecular dynamics engine to simulate solvated biomolecules |
| JChemPaint | Chemical 2D structure editor |
| MPQC | Computes the properties of molecules, ab initio |
| Indigo | Universal cheminformatics toolkit for working with molecules and reactions |
| GPAW | Python package for density-functional theory calculations |
| DFTB+ | General package for performing fast atomistic calculations |
| BKChem | 2D molecule editor written in Python |
| MDynaMix | General purpose molecular dynamics |
| ChemCanvas | 2D chemical drawing tool |
| MoleQueue | Abstract, manage, and coordinate the execution of tasks |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

