New and improved features¶
Multiple molecule types with identical SETTLE parameters are now supported¶
This can be useful when one, for instance, wants to apply position restraints to a subset of water molecules.
Periodic SCC-DFTB, GFN1-xTB and GFN2-xTB are available for CP2K QM/MM¶
The CP2K QM/MM interface can now generate periodic SCC-DFTB, GFN1-xTB and
GFN2-xTB inputs using short-range regularized point-charge coupling with SPME
electrostatics. For GFN1-xTB and GFN2-xTB CP2K should be compiled with support
for the tblite interface.
The user can select Gaussian Expansion of Electrostatic Potential (GEEP)
for MM charges in tight-binding methods through the
qmmm-cp2k-dftb-electrostatic-coupling = gauss MDP option,
which requires a CP2K 2027.1 or higher, whereas the default is
short-range regularized point-charge coupling
qmmm-cp2k-dftb-electrostatic-coupling = point-charge.
Regular DFT methods are still using GEEP (Gauss) for electrostatics.
CMAP interactions now support free energy perturbation¶
Energy correction map (CMAP) torsion interactions can now be
perturbed between an A state and a B state using the
bonded-lambdas free-energy lambda component. The A and B
state CMAP grids are linearly interpolated at each lambda
value, and the corresponding \(\partial H/\partial\lambda\)
contribution is accumulated for BAR/TI analysis.
To use CMAP FEP, specify a B-state CMAP type in the [ cmap ]
section of the topology. The type can be given as a 1-based index
or as an explicit name token (e.g. GLY, PZQ) that matches
the optional name field on the corresponding [ cmaptypes ]
header line. When the A and B state CMAP types differ, the
interaction is treated as perturbed; when they are identical (or
no B-state is specified) the standard non-perturbed code path is
used.
Neural network potentials can run on Intel GPUs¶
The NNPot interface now runs model inference on Intel GPUs when a LibTorch
with XPU support (PyTorch 2.5 or later) is used. The model runs on the first
Intel GPU LibTorch enumerates, by default and with GMX_NN_DEVICE=gpu.
Configuring warns when a SYCL build for Intel GPUs is paired with a LibTorch
without XPU support.
Reading and writing of mmCIF/PDBx structure and trajectory files¶
GROMACS tools can now read and write structures in the mmCIF/PDBx format
(.cif), the primary distribution format of the wwPDB. This covers entries
that the legacy PDB format cannot express, including extended entry identifiers
(the pdb_######## form, up to 12 characters) and chemical-component
identifiers of up to 5 characters. Multi-model .cif files can be read and
written as trajectories, for example with gmx trjconv.
With the -conect option of gmx editconf and gmx trjconv, atom
connectivity is written as struct_conn records, the mmCIF counterpart of the
PDB LINK and SSBOND records, and read back again.
mmCIF allows chain identifiers of more than one character, while GROMACS stores a single character. Such identifiers are truncated to their first character, and a warning naming them is printed.
New I/O format for neural network potentials¶
The I/O format for neural network potentials in the NNPot interface has been changed to a
dictionary-based format. This allows for more flexibility in the input and output of the NNP model,
and will make it easier to add new features in the future. In particular, the model-inputX
mdp options have been removed, and instead all available inputs are always passed to
the model as a dictionary. Similarly, the model is now expected to return a dictionary containing
the energy and forces, instead of a tuple. Note that this change is not backward-compatible, and
models exported for use with past GROMACS versions will no longer work. For more details on how to
use the new I/O format, please see the NNPot section in the reference manual.
Stochastic dynamics simulations with GPU update¶
Simulations using the stochastic dynamics (langevin) integrator
can now be run with the update step done on the GPU for the CUDA,
HIP and SYCL backends. This feature currently needs to be enabled
by explicitly setting -update gpu on the command line.
Collective variables module (Colvars) update¶
The (Colvars) library for enhanced sampling simulations packaged with GROMACS has been updated to version 2026-09-10.
Highlights include:
Added the Lepton library from OpenMM to GROMACS to support custom mathematical expressions in Colvars (see the Lepton section of the Colvars doc page for details)
Faster and more numerically robust coordination-number calculations
Improved collective-variable grids, added weighted Poisson integration
Added support for harmonic walls that start with zero force constants
A complete list of changes can be found in merge request 6351.
For documentation see this section of the GROMACS doc and the corresponding Colvars doc page at https://colvars.github.io/gromacs-2027.
NNPot pairlist cutoff now accounts for pairlist lifetime¶
Prior to this change, the NNPot pairlist cutoff was set exactly to the user-defined cutoff.
However, if nstlist is set to a value greater than 1, the pairlist passed to the NNPot
model might be missing pairs that moved into the cutoff region since the last pairlist update.
If this is not accounted for, the NNPot model will not be able to compute the exact forces
and energies. Instead of relying on the user to set a larger cutoff, the NNPot pairlist cutoff
is now automatically increased by a buffer that accounts for the value of nstlist. The buffer
is calculated as twice the RMSD of the atomic displacements over the pairlist lifetime.
The pairlist passed to the model is pruned at every step to only include pairs within
the user-defined cutoff.
Allow neural network potentials to add a virial contribution¶
Some neural network potentials are able to compute a virial stress contribution, e.g.
by calculating the derivative of the potential energy with respect to an infinitesimal
strain deformation. This contribution can now be taken into account by the NNPot interface,
enabling simulations in the NPT ensemble with ML regions that contribute significantly
to the virial. To enable this, the user should add an additional value to the return dictionary
of the model, under the key virial.
Triangle constraints are now supported with GPU-resident update
“””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””
Triangles of coupled constraints are now supported with GPU-resident update and LINCS.
This can lead to performance improvements for systems with many such coupled constraints,
for example when constraining water molecules with LINCS, or in coarse-grained models like Martini.
Thus, GROMACS will no longer throw an error on such systems when specifying -update gpu.