\(\renewcommand{\AA}{\text{Å}}\)

LAMMPS Documentation (2 Aug 2023 version)

LAMMPS stands for Large-scale Atomic/Molecular Massively Parallel Simulator.

LAMMPS is a classical molecular dynamics simulation code focusing on materials modeling. It was designed to run efficiently on parallel computers and to be easy to extend and modify. Originally developed at Sandia National Laboratories, a US Department of Energy facility, LAMMPS now includes contributions from many research groups and individuals from many institutions. Most of the funding for LAMMPS has come from the US Department of Energy (DOE). LAMMPS is open-source software distributed under the terms of the GNU Public License Version 2 (GPLv2).

The LAMMPS website has a variety of information about the code. It includes links to an online version of this manual, an online forum where users can post questions and discuss LAMMPS, and a GitHub site where all LAMMPS development is coordinated.


The content for this manual is part of the LAMMPS distribution in its doc directory.

  • The version of the manual on the LAMMPS website corresponds to the latest LAMMPS feature release. It is available at: https://docs.lammps.org/.

  • A version of the manual corresponding to the latest LAMMPS stable release (state of the stable branch on GitHub) is available online at: https://docs.lammps.org/stable/

  • A version of the manual with the features most recently added to LAMMPS (state of the develop branch on GitHub) is available at: https://docs.lammps.org/latest/

If needed, you can build a copy on your local machine of the manual (HTML pages or PDF file) for the version of LAMMPS you have downloaded. Follow the steps on the Build the LAMMPS documentation page. If you have difficulties viewing the pages, please see this note.


The manual is organized into three parts:

  1. The User Guide with information about how to obtain, configure, compile, install, and use LAMMPS,

  2. the Programmer Guide with information about how to use the LAMMPS library interface from different programming languages, how to modify and extend LAMMPS, the program design, internal programming interfaces, and code design conventions,

  3. the Command Reference with detailed descriptions of all input script commands available in LAMMPS.


After becoming familiar with LAMMPS, consider bookmarking this page, since it gives quick access to tables with links to the documentation for all LAMMPS commands.


User Guide

User Guide

Programmer Guide

Programmer Guide

Command Reference

Indices and tables

Web Browser Compatibility

The HTML version of the manual makes use of advanced features present in “modern” web browsers. This leads to incompatibilities with older web browsers and specific vendor browsers (e.g. Internet Explorer on Windows) where parts of the pages are not rendered as expected (e.g. the layout is broken or mathematical expressions not typeset). In that case we recommend to install/use a different/newer web browser or use the PDF version of the manual.

The following web browser versions have been verified to work as expected on Linux, macOS, and Windows where available:

  • Safari version 11.1 and later

  • Firefox version 54 and later

  • Chrome version 54 and later

  • Opera version 41 and later

  • Edge version 80 and later

Also Android version 7.1 and later and iOS version 11 and later have been verified to render this website as expected.