You can download LAMMPS as a tarball from this page, using the links below.
There are several ways to get the LAMMPS software, either as a tarball, or from an active repository, or in executable form:
With source code, you have to build LAMMPS using "cmake" or "make". But you have more flexibility as to what features to include or exclude in the build. If you plan to modify or extend LAMMPS, then you need the source code.
The Install doc page lists what is included in the LAMMPS distribution.
Select the code you want, click the "Download" link, and your browser should download a gzipped tar file. Unpack it with the following command, and see the README file to get started.
tar -xzvf file.tar.gz
There have been ~387,000 downloads of LAMMPS from Sept 2004 thru Dec 2020.
LAMMPS molecular dynamics package:
|LAMMPS Stable Release||29 Oct 2020||Latest stable release. 165 MB tarball with source and docs, GPLv2 license. Includes all bug fixes and new features described on this page, up to the date of the most recent stable release.||Download||Manual|
|LAMMPS Patch Release||2 Jul 2021||Latest patch release. 159 MB tarball with source and docs, GPLv2 license. Includes all bug fixes and new features described on this page.||Download||Manual|
Legacy versions of LAMMPS:
|LAMMPS 2001||older f90 version source tarball, GPLv2 license, 1.1 Mb, last updated 17 Jan 2005||Download||Manual|
|LAMMPS 99||older f77 version source tarball, GPLv2 license, 840 Kb||Download||Manual|
All versions of LAMMPS are distributed under the terms of the GNU Public License Version 2. The earlier Fortran versions are no longer under active development.
To determine what version of LAMMPS you already have, see this page.
You can download older versions of LAMMPS, by going to this page and selecting the version you want, based on the date in the tarball file name.
Older parallel MD codes (ParaDyn, LJ) and the Python-based Pizza.py package, which provides pre- and post-processing and viz tools for LAMMPS, are available for download from this page.