| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| lammps-linux-x86_64-22Jul2025_update5.tar.gz | 2026-08-08 | 58.5 MB | |
| lammps-src-22Jul2025_update5.tar.gz | 2026-08-08 | 226.1 MB | |
| Manual_22July2025.pdf | 2026-08-08 | 29.7 MB | |
| README.md | 2026-08-08 | 12.4 kB | |
| Update 5 for Stable release 22 July 2025 source code.tar.gz | 2026-08-08 | 152.6 MB | |
| Update 5 for Stable release 22 July 2025 source code.zip | 2026-08-08 | 163.5 MB | |
| Totals: 6 Items | 630.5 MB | 2 | |
This is the fifth update to the 22 July 2025 stable release that fixes bugs that have been reported since the fourth update and backported from the development version.
The following individual changes are included:
- backport of [24aadf]
- backport memory fixes from PR [#5108]
- backport fix wall/gran bugfix from PR [#5007]
- correct embedding rpath into LAMMPS executable in macOS app bundles
- fix spurious "chunks do not contain all atoms in molecule" warning in compute chunk/atom
- disallow unions or intersections or regions that may translate or rotate since those are broken (pending fix to force consistent motion is in upstream)
- correct torque application in pair style tri/lj
- disambiguate non-virtual overloads in KOKKOS support for REAXFF so that clang is happy without segfaults
- avoid segfault in fix shake/kk destructor because of using incorrect/stale copy of nlocal
- fix memory leak when deleting vector style variables
- do not ignore comment lines for fix ttm/mod input
- fix wrong argument index in pair oxdna/stk potential file reader
- initialize remap plan pointers to nullptr after allocation
- fix dump vtk parallel summary referencing wrong piece files
- reject region-restricted translations in fix gcmc that cannot be placed
- speed up region-restricted gas-atom list rebuild
- fix potential crash in pair style peri/eps due insufficient allocation of theta array
- fix pair brownian/poly Newton's 3rd law violation for random forces
- Disable use of volume fraction correction for brownian/poly
- fix per-type-pair bond-breaking criterion in PERI package pair styles
- make sure torque arrays are initialized to zero before use in lj/log/dipole/long
- backported GPU library fixes for issues detected on AMD 780M APU from [#5015]
- fix issue in MLIAP unified
- allocate bonded coefficient views in allocate() instead of coeff() for KOKKOS styles
- REACTION: fix segfault when reading
fix bond/reactper-atom properties from a data file - KOKKOS: evaluate the
pair reaxff/kkbond-order exponentials in double precision to avoid overflow - KOKKOS: avoid floating-point exceptions in 16 bond, dihedral and improper styles (trips FPE-trapping builds)
- core: improve error messages when a variable references a mismatched compute or fix property
- REPLICA: call
kspace->setup()fromfix pimd/langevinwhen the volume changes - RIGID: support more than 2 billion bodies in
fix rigid/small(issue [#4038]) - KOKKOS: add the missing fence after
pack_reverse_selfinreverse_comm_device(race condition) - core: avoid integer overflow in
compute temp/spherefor large systems - KOKKOS: correct the order of the conditionals in
remap_kokkos - MC: reproduce the
fix gcmcrandom number sequence exactly after a restart - COLVARS: update
size_vectorwhenfix_modifychanges the number of colvars - core: fix infinite loop in
compute_modifyand let computes see and overrideextra/dofanddynamic/dof - core: avoid a segfault when printing the error indicator line for a missing command argument
- MACHDYN: use double instead of float in
pair smd/triangulated/surfaceand remove debug code - SPIN: fix hang of
fix nve/spinin parallel when a sector contains atoms outside the fix group - core: reject
fix adaptdiameters that would give zero mass or a negative diameter - build: define
FFT_KOKKOS_FFTW_THREADSin CMake so KOKKOS FFT threading is actually enabled - MOLECULE: add the missing
copymodeguard to the bond style base destructors (double free) - ASPHERE: avoid excessive torque in
pair gaybernewhen the determinant is very small - GRANULAR: fix kinetic energy gain of
fix wall/gran hooke/historyfor grazing frictional impacts (the corresponding doc update is already onmaintenance) - EXTRA-FIX: warn when
fix ttm/modis used with a restricted coupling region; correct the Si example - DPD-REACT: grow
duCond/duMechwithnmaxinstead of recreating them every step - DPD-REACT: remove per-step malloc/free in
pair exp6/rx,pair multi/lucy/rxandpair mesocnt - KOKKOS: stop
fix acks2/reaxff/kkfrom silently producing wrong results with a reduced precision KOKKOS library - REPLICA: validate the swap partner index in
fix temper,fix temper/nptandfix temper/grem - RIGID: initialize
molecule[]for atoms outside the group and fix the file handling inreadfile() - ML-IAP: use
SafeFilePtrinMLIAPModelSimple::read_coeffs, which reused a closed file handle and leaked it on errors - core: guard
Replicate::newtagagainst topology data referencing a non-existent atom - PHONON: initialize and check the pivot indices in
FixPhonon::GaussJordan - KSPACE: fix the slab correction self-energy of
ewald/dipole,ewald/dipole/spinandpppm/dipole/spin - KOKKOS: fix the flipped forward/backward flag in
fft_3d_1d_only_kokkos - COUPLE: plug a memory leak on failed plugin loads in the plugin loader
- SPIN: call the collective error function on all ranks in
pair_style spinso parallel runs abort instead of hanging - SPIN: apply the Zeeman field unit conversion in
fix precession/spinonly once - SPIN: initialize the symmetric cutoff pairs in
pair spin/neel - core: fix the column selection for 2d single-value averaging in
fix ave/grid - AMOEBA: fix the corrupted sorting of the 1-3 neighbor list in
kmpole() - OPENMP: fix per-atom energy indexing in the TIP4P
/omppair styles - DPD-MESO: do not tally heat flux from stale data for neighbors beyond the temperature cutoff in
pair edpd - DPD-MESO: clamp the correct random number for the eDPD random heat flux
- EXTRA-FIX: use current unwrapped coordinates and the correct energy index in
fix efield/tip4p - ASPHERE: do not tally stale sub-particle force data in
pair line/ljandpair tri/lj - RIGID: restrict momentum resampling in
fix rigid/smallto bodies inside the fix group - MOFFF: avoid multiplying with an uninitialized inverse distance in
angle cosine/buck6d - core: fix three copy-paste errors in the parsing of the
region conehi boundary - core: return a valid contact point for rim contacts with an open side face of
region cylinder - EXTRA-COMPUTE: do not read past the number of neighbors in
compute ackland/atom - MC: store all global settings of
pair dsmcin the restart file - PHONON: honor the documented default output file of
dynamical_matrixandthird_order - MISC, ML-RANN: harden the potential file parsing of
pair agniandpair rann - core: fix destructor safety on error paths and missing size checks in
MyPoolChunk,fix halt,fix vectorandfix imd - KOKKOS: fix the memory usage reporting and uninitialized members of
fix reaxff/bonds/kk - core, RIGID, MANYBODY: handle fully open
region block/prism, garbage accumulator indices inpair bop, and uninitialized rigid body bonus pointers - MANYBODY: avoid an out-of-bounds read in
single()ofpair local/density - PHONON: plug two memory leaks and guard against calling
ferror()on a null file pointer inthird_order - KSPACE: accumulate the slab correction into the reported energy in
pppm/tip4pandpppm/tip4p/omp - KSPACE: evaluate all TIP4P slab correction terms at the virtual charge site
- core: do not leak memory in 10 fixes and computes when the same argument is given more than once
- KSPACE: fix uninitialized data, grid communication buffer sizes and per-atom energy/virial in
pppm/dipole/spin - SPH, GPU: accumulate the long-range correction of
pair sph/ljoutside the neighbor list loop - DPD-SMOOTH: make the random number seeding of
pair sdpd/taitwater/isothermalindependent of the command order - EXTRA-FIX: set the missing
extscalarflag infix ffl - EXTRA-FIX: initialize the r-RESPA level count in
fix electron/stopping/fit - GPU: fix a GPU memory fault in
pair edpd/gpuwhen nopower/kappatables are used - FEP, INTERLAYER: match hybrid pair styles by prefix so an active suffix does not break the sub-style checks
- COLVARS: correct the wrap function of
orientation_angle(upstream Colvars PR 943) - MISC: do not request the accelerated
fix NEIGH_HISTORYfrompair tracker, which does not support it - RIGID, SRD: fix the rigid body update for line and triangle particles
- RIGID: fix the rotation of line particles inside rigid bodies
- REPLICA: reset
max_nlocalinfix pimd/nvtso thatbuf_beads[i]is reallocated - MANYBODY: count funcfl data in
pair eamonly after the file was read successfully - core: make
Input::execute_commandexception safe so failed commands do not leak - KSPACE: make the
kspace_modify mix/dispsetting work forewald/disp - KOKKOS: discard the stale small system
neigh/threadheuristic in thepackage kokkoscommand - core: return no contact from regions with all faces open instead of unassigned coordinates
- GRANULAR: get the neighbor history fix of
fix granular/mdrfrom the pair style instead of a hardcoded ID - BOCS, EXTRA-FIX: initialize members read before first use in
compute pressure/bocsandfix controller - REAXFF: correct the member names used to initialize the
fix qeq/reaxffsparse matrix - KOKKOS: fix six correctness defects in
mliap/so3/kk,compute temp/deform/kk,pair exp6/rx/kk,fix wall/gran/oldandfix wall/region/kk - ML-IAP: avoid an integer overflow before the intended 64-bit atom count handling
- DPD-REACT, KOKKOS: add the missing rx mixing weight sanity checks and release Kokkos views promptly
- core: do not reject zero-size global fix state when reading a restart file (granular history and BPM restarts)
- GRANULAR: do not request the accelerated
fix NEIGH_HISTORYfrompair granular, which does not support it - core: error out instead of crashing on invalid variable references in
next,py_functions,fix store/stateandfix ave/grid - GRANULAR, MDI: consistent MDR wall guard, leak on repeated
mdi pluginkeywords, uninitialized history pointers inpair granular single() - several: validate user parameters used as divisors or lookups in
pair exp6/rx,fix adapt,pair meam,fix rheo,fix pourandpair gauss - MANYBODY: delete the allocated temporary storage when reading an EAM potential file fails
- REACTION, PHONON, tools: check
createIDsinfix bond/react, plug the largest leak inthird_order, avoid passing NULL tofreadinbinary2txt - several: input validation for restart files and
-reorder, SMTBQ tail coefficients, faileddynamic_castinfix granular/mdr, keyword leak infix reaxff/species - MISC, ML-SNAP, DIPOLE: validate the
fix imdmessage length, require positive widths incompute gaussian/grid/local, initializemujinpair lj/long/dipole/long - many: assorted defensive hardening across a dozen styles from the Coverity scan triage
- core and several packages: range checks on counts and string lengths read from binary restart files and
fix bond/reactmap files - Avoid a segfault in finish.cpp when a NEB calculation would skip the initial regular NEB run.
Full Changelog: https://github.com/lammps/lammps/compare/stable_22Jul2025_update4...stable_22Jul2025_update5
Information on the files attached to this release:
- lammps-src-22Jul2025_update5.tar.gz - LAMMPS source code with translated manual in HTML and PDF format included
- lammps-linux-x86_64-22Jul2025_update5.tar.gz - Fully static LAMMPS binaries for all Linux machines with x86_64 CPUs
- Manual_22July2025.pdf - PDF version of full manual for LAMMPS
There are no binary packages containing LAMMPS and LAMMPS-GUI for this update release. Sorry.
We strongly recommend to upgrade to LAMMPS-GUI version 3.1 instead, which is not compatible with this LAMMPS version and will be released alongside the next LAMMPS stable release. You can download the latest LAMMPS-GUI releases from https://github.com/akohlmey/lammps-gui/releases. LAMMPS-GUI has seen significant updates and improvements in the last 12 months since it was split form the LAMMPS distribution and moved to a git repository of its own. Many of those improvements depend on changes in the LAMMPS code. Of course, you are free to compile the legacy version of LAMMPS-GUI on your own from the source code in the tools/lammps-gui folder.