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 were ~405,000 downloads of LAMMPS from Sept 2004 thru mid-year 2021. At that point we migrated our website to https://www.lammps.org and a different server, and stopped logging downloads.
LAMMPS molecular dynamics package:
|LAMMPS Stable Release||23 Jun 2022||Latest stable release. 180 MB tarball with source and docs, GPLv2 license. Last updated 17 February 2023. Includes all bug fixes and new features described on this page, up to the date of the most recent stable release plus selected bugfixes backported from more recent features releases.||Download||Manual|
|LAMMPS Feature Release||8 Feb 2023||Latest feature release. 188 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 3 Mar 2020||last version of LAMMPS compatible with C++98, GPLv2 license, 164 MB, last updated 3 Mar 2020||Download|
|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, 844 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