LAMMPS-a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales

被引:6998
作者
Thompson, Aidan P. [1 ]
Aktulga, H. Metin [2 ]
Berger, Richard [3 ]
Bolintineanu, Dan S. [1 ]
Brown, W. Michael [4 ]
Crozier, Paul S. [1 ]
Veld, Pieter J. in 't [5 ]
Kohlmeyer, Axel [3 ]
Moore, Stan G. [1 ]
Nguyen, Trung Dac [6 ]
Shan, Ray [7 ]
Stevens, Mark J. [1 ]
Tranchida, Julien [1 ]
Trott, Christian [1 ]
Plimpton, Steven J. [1 ]
机构
[1] Sandia Natl Labs, Albuquerque, NM 87185 USA
[2] Michigan State Univ, E Lansing, MI 48824 USA
[3] Temple Univ, Philadelphia, PA 19122 USA
[4] Intel Corp, Hillsboro, OR 97124 USA
[5] BASF SE, Ludwigshafen, Germany
[6] Northwestern Univ, Evanston, IL 60208 USA
[7] Mat Design Inc, San Diego, CA 92131 USA
关键词
Molecular dynamics; Materials modeling; Parallel algorithms; LAMMPS; MOLECULAR-DYNAMICS SIMULATIONS; REACTIVE FORCE-FIELD; MONTE-CARLO-SIMULATION; COARSE-GRAINED MODEL; ELECTRONEGATIVITY EQUALIZATION; SPIN DYNAMICS; EWALD SUMS; PERFORMANCE; POTENTIALS; ALGORITHM;
D O I
10.1016/j.cpc.2021.108171
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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 parallel spatial decomposition, distributed neighbor lists, 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 (1995) 1-19. [2] L. Verlet, Computer experiments on classical fluids: I. Thermodynamical properties of Lennard-Jones molecules, Phys. Rev. 159 (1967) 98-103. (c) 2021 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
引用
收藏
页数:34
相关论文
共 246 条
[1]  
Abraham Mark James, 2015, SoftwareX, V1-2, P19, DOI [10.1016/j.softx.2015.06.001, 10.1016/j.softx.2015.06.001]
[2]   Parallel reactive molecular dynamics: Numerical methods and algorithmic techniques [J].
Aktulga, H. M. ;
Fogarty, J. C. ;
Pandit, S. A. ;
Grama, A. Y. .
PARALLEL COMPUTING, 2012, 38 (4-5) :245-259
[4]  
Anderson J.A, 2002, COMP MATER SCI, V173
[5]   Spin dynamics in magnets: Equation of motion and finite temperature effects [J].
Antropov, VP ;
Katsnelson, MI ;
Harmon, BN ;
vanSchilfgaarde, M ;
Kusnezov, D .
PHYSICAL REVIEW B, 1996, 54 (02) :1019-1035
[6]   Equilibration of long chain polymer melts in computer simulations [J].
Auhl, R ;
Everaers, R ;
Grest, GS ;
Kremer, K ;
Plimpton, SJ .
JOURNAL OF CHEMICAL PHYSICS, 2003, 119 (24) :12718-12728
[7]   The MolSSI Driver Interface Project: A framework for standardized, on-the-fly interoperability between computational molecular sciences codes [J].
Barnes, Taylor A. ;
Marin-Rimoldi, Eliseo ;
Ellis, Samuel ;
Crawford, T. Daniel .
COMPUTER PHYSICS COMMUNICATIONS, 2021, 261
[8]   Gaussian Approximation Potentials: The Accuracy of Quantum Mechanics, without the Electrons [J].
Bartok, Albert P. ;
Payne, Mike C. ;
Kondor, Risi ;
Csanyi, Gabor .
PHYSICAL REVIEW LETTERS, 2010, 104 (13)
[9]   SEMIEMPIRICAL MODIFIED EMBEDDED-ATOM POTENTIALS FOR SILICON AND GERMANIUM [J].
BASKES, MI ;
NELSON, JS ;
WRIGHT, AF .
PHYSICAL REVIEW B, 1989, 40 (09) :6085-6100
[10]   MODIFIED EMBEDDED-ATOM POTENTIALS FOR CUBIC MATERIALS AND IMPURITIES [J].
BASKES, MI .
PHYSICAL REVIEW B, 1992, 46 (05) :2727-2742