Chemistry

LAMMPS – classical molecular dynamics simulator

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

Output image generated by LAMMPS
Click image for full size

LAMMPS is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Chemistry Tools
GROMACSVersatile package to perform molecular dynamics
tomvizProcess, visualize, and analyze 3D tomographic data
Psi4Ab initio quantum chemistry software
NWChemAb initio computational chemistry software package
PyMOLOpenGL molecular graphics system written in Python
LAMMPSClassical molecular dynamics simulator
CP2KAtomistic simulations of solid state, liquid, molecular and biological systems
RDKitCheminformatics and machine-learning software
GAMESSGeneral ab initio quantum chemistry package
AvogadroAdvanced molecular editor
OpenMMHigh-performance toolkit for molecular simulation
GabeditGraphical user interface to computational chemistry packages
Open BabelConverts and manipulates chemical data files
JmolViewer for three-dimensional chemical structures
pyscfQuantum chemistry framework
KalziumFull-featured chemistry application for KDE 5
KetcherWeb-based chemical structure editor
XDrawChem2D editor for chemical structures and reactions
CanteraChemical kinetics, thermodynamics, and transport tool suite
OracOpenMP/MPI molecular dynamics engine to simulate solvated biomolecules
JChemPaintChemical 2D structure editor
MPQCComputes the properties of molecules, ab initio
IndigoUniversal cheminformatics toolkit for working with molecules and reactions
GPAWPython package for density-functional theory calculations
DFTB+General package for performing fast atomistic calculations
BKChem2D molecule editor written in Python
MDynaMixGeneral purpose molecular dynamics
ChemCanvas2D chemical drawing tool
MoleQueueAbstract, manage, and coordinate the execution of tasks

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments