LAMMPS - A flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales
By Aidan P. Thompson, Hasan Metin Aktulga, R. Berger, Dan S. Bolintineanu, W. Michael Brown, P. Crozier, Pieter J. in ’t Veld, Axel Kohlmeyer, S. Moore, T. D. Nguyen and 5 more. Computer Physics Communications, 2021
10,259 citations recorded by the source corpus.
Abstract Since the classical molecular dynamics simulator LAMMPS was released as an open source code in 2004, it has become a widely-used tool for particle-based modeling of materials at length scales ranging from atomic to mesoscale to continuum. Reasons for its popularity are that it provides a wide variety of particle interaction models for different materials, that it runs on any platform from a single CPU core to the largest supercomputers with accelerators, and that it gives users control over simulation details, either via the input script or by adding code for new interatomic potentials, constraints, diagnostics, or other features needed for their models. As a result, hundreds of people have contributed new capabilities to LAMMPS and it has grown from fifty thousand lines of code in 2004 to a million lines today. In this paper several of the fundamental algorithms used in LAMMPS are described along with the design strategies which have made it flexible for both users and developers. We also highlight some capabilities recently added to the code which were enabled by this flexibility, including dynamic load balancing, on-the-fly visualization, magnetic spin dynamics models, and quantum-accuracy machine learning interatomic potentials. Program Summary Program Title: Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) CPC Library link to program files: https://doi.org/10.17632/cxbxs9btsv.1 Developer's repository link: https://github.com/lammps/lammps Licensing provisions: GPLv2 Programming language: C++, Python, C, Fortran Supplementary material: https://www.lammps.org Nature of problem: Many science applications in physics, chemistry, materials science, and related fields require parallel, scalable, and efficient generation of long, stable classical particle dynamics trajectories. Within this common problem definition, there lies a great diversity of use cases, distinguished by different particle interaction models, external constraints, as well as timescales and lengthscales ranging from atomic to mesoscale to macroscopic. Solution method: The LAMMPS code uses neighbor lists, parallel spatial decomposition, and parallel FFTs for long-range Coulombic interactions [1]. The time integration algorithm is based on the Stormer-Verlet symplectic integrator [2], which provides better stability than higher-order non-symplectic methods. In addition, LAMMPS supports a wide range of interatomic potentials, constraints, diagnostics, software interfaces, and pre- and post-processing features. Additional comments including restrictions and unusual features: This paper serves as the definitive reference for the LAMMPS code. References [1] S. Plimpton. Fast parallel algorithms for short-range molecular dynamics. J. Comp. Phys., 117:1–19, 1995. [2] L. Verlet. Computer experiments on classical fluids: I. Thermodynamical properties of Lennard–Jones molecules. Phys. Rev., 159:98–103, 1967.
Subfields: Materials Chemistry, Structural Biology, Surfaces, Coatings and Films
View Paper: https://www.semanticscholar.org/paper/865a82c7ae5d55c2e9b2cd5d803c0028b64d2efd
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Materials Chemistry
- Albert Musaelian
- Anders Johansson
- Cameron J. Owen
- Lixin Sun
- Mordechai Kornbluth
- Boris Kozinsky
- Simon L. Batzner
- Tess E. Smidt
Citations in the corpus
- Learning local equivariant representations for large-scale atomistic dynamics (2022, methodology): “Molecular Dynamics simulations were performed in LAMMPS [65] using the pair style pair allegro implemented in the Allegro interface, available at https://github.com/mir-group/pair_allegro .”
- Buried interface molecular hybrid for inverted perovskite solar cells (2024, neutral): “Classical molecular dynamics simulations for the perovskite/SAMs/ NiO heterojunction used the LAMMPS program 34 .”