LAMMPS website

Latest Features and Bug Fixes in LAMMPS

This page is a continuous listing of new features and bug fixes for the LAMMPS molecular dynamics package. It also lists periodic "stable" versions which have undergone more testing.

See the unfixed bug page for info on as-yet unresolved bugs.

In some cases, new features change the syntax or operation of an existing input script command, which can cause LAMMPS output to change, or even "break" an earlier working script. These cases are highlighted below with a "BACKWARD COMPATIBILITY" note.

To stay up-to-date with the current LAMMPS, you have 3 choices:

This page contains a year's worth of new features and bug fixes.

Past years of features/fixes are here: 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004

Periodic summaries of major new features added to LAMMPS are on the history page.


What version of LAMMPS do you have?

A LAMMPS "version" is the date when it was released, such as 1 Oct 2010. LAMMPS is updated continuously. Every time we fix a bug or add a feature, we release it immediately, as listed below. Each dated copy of LAMMPS contains all the features and bug-fixes up to and including that version date. The version date is printed to the screen and logfile every time you run LAMMPS. It is on the first page of the HTML version of the manual. It is also in the file src/version.h and in the LAMMPS directory name created when you unpack a tarball.


Stable versions

These are recently released "stable" versions of LAMMPS, which have successfully passed a suite of build and run tests. This is more testing than is done for the incremental development patches listed below.

If you don't want to track the bleeding edge of LAMMPS development, you can always download a tarball of the most recent stable version on the download page. A summary of what is in each stable release is provided on the LAMMPS GitHub site.

Earlier stable versions are also available as tarballs on the LAMMPS web site, at this link, using the appropriate date from the list above.

You can use Git to check out a specific stable version in one of two ways, using the tag listed above:

(1) If you do not have an existing checkout:

git clone -b stable_4Nov2016 https://github.com/lammps/lammps.git mylammps 

(2) If you already have an existing checkout:

git fetch origin
git checkout -b release-4Nov16 stable_4Nov2016 

which will create a branch with the name "release-4Nov16", with all the files for that specific stable release.

Likewise, you can use SVN to check out a specific stable version, using the tag listed above:

svn checkout https://github.com/lammps/lammps.git/tags/stable_4Nov2016 mylammps 

Additional info on how to track other branches (stable, unstable, master) of the GitHub LAMMPS repository via Git or SVN are linked to on the download page.



8 Feb 2019

Details on what is changed by this patch are here and details for all releases are here.

The main purpose of this patch was to remove some altered code which introduced a bug in create_atoms when used with the region option and a rotated lattice. We'll add it back when the bug is fixed.

This patch file can be applied to the 1 Feb 2019 version. This is the list of changed files.


1 Feb 2019

Details on what is changed by this patch are here and details for all releases are here.

Highlights include:

Steven Vandenbrande (Ghent University). New USER-YAFF package for force fields for QuickFF using for modeling MOFs; See PR #1297 and PR #1301.

Andew Jewett, Axel Kohlmeyer (Temple U). Removed moltemplate tool from LAMMPS distro. Up-to-date versions are more readily available from moltemplate.org; See PR #1270.

Evangelos Voyatsis, Agilio Padua, Axel Kohlmeyer (Temple U). Added soft versions of CLASS2 pair style to the USER-FEP package; See PR #1302.

Lars Pastewka (University of Freiburg). Added support for writing data of computes and fixes with arbitrary number of columns to NetCDF format dump files; See PR #1303.

This patch file can be applied to the 4 Jan 2019 version. This is the list of changed files.


4 Jan 2019

Details on what is changed by this patch are here and details for all releases are here.

Highlights include:

Ability to read dump files in parallel via the read_dump and rerun commands. See PR #1179.

Zbigniew Kozioł (National Center for Nuclear Research, Otwock-Świerk, Poland). New pair_style lebedeva/z command for an interlayer potential. See PR #1230.

Old versions of the MEAM and ReaxFF pair styles have been removed. See PR #1254.

Jake Gissinger (U Colorado). Added option to delete atoms with fix bond/react. See PR #1239.

Aidan Thompson (Sandia). Issues with incorrect volume fluctuations for some modes of Nose-Hoover barostat fixes have been resolved. They were due to inconsistencies with how the barostat was thermostatted depending on the number of degrees of freedom for the barostat. See PR #1259.

This patch file can be applied to the 12 Dec 2018 version. This is the list of changed files.