GROMACS 2026.4 CPU container image¶
1. What this image is¶
firesimulations/gromacs tag 2026.4-auto-r1 is GROMACS 2026.4 built from source with FFTW 3.3.11 and Open MPI 5.0.11, for molecular-dynamics simulation of biomolecular systems. This is the CPU image; it needs no GPU and no driver, on Ubuntu 26.04. It contains two programs: gmx (thread-MPI, one machine, no mpirun needed) and gmx_mpi (Open MPI, for mpirun and several machines). The name auto in the tag means that the image holds the SIMD levels SSE2 and AVX2_256 and a launcher picks the best level the CPU can run when the container starts. Linux amd64 only. It is mixed-precision GROMACS; it is not a double-precision build and has no AVX-512 level.
2. Tags and versions¶
| Tag | Contents |
|---|---|
2026.4-auto-r1 |
GROMACS 2026.4, CPU (manual) |
2026.4-cuda12.9.1-auto-r1 |
GROMACS 2026.4 with NVIDIA GPU support, CUDA 12.9.1 (manual) |
Other tags of the repository are separate image lines with their own manuals: CP2K, GROMACS with CP2K (QM/MM), gmxapi, gmx_MMPBSA. Tag pattern: <GROMACS version>[-<qualifier>]-r<N>; a published tag never changes (tags and revisions). Digests and DOIs: release notes.
3. Get the image¶
docker pull firesimulations/gromacs:2026.4-auto-r1
docker pull firesimulations/gromacs@sha256:<digest of the release note> # byte-exact; preferred in papers
Without Docker Hub, download the archive from the Zenodo record of the tag and follow load an image from Zenodo. See also verify an image.
4. Quick start¶
docker run --rm firesimulations/gromacs:2026.4-auto-r1 # prints gmx --version
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/work" firesimulations/gromacs:2026.4-auto-r1 gmx mdrun -deffnm md -ntomp 8
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/work" firesimulations/gromacs:2026.4-auto-r1 gmx mdrun -deffnm md -ntomp 8
docker run --rm -v "${PWD}:/work" firesimulations/gromacs:2026.4-auto-r1 gmx mdrun -deffnm md -ntomp 8
There is no entrypoint: the command follows the image name (gmx ..., gmx_mpi ..., mpirun ...). With no command the image prints gmx --version. The working directory is /work. A failing GROMACS command gives the container a non-zero exit status, so scripts and CI can rely on it.
5. What is inside¶
| Component | Version / build |
|---|---|
| GROMACS | 2026.4, mixed precision, OpenMP on, hwloc on, RDTSCP off (portable timing), gmx thread-MPI and gmx_mpi MPI builds at the levels SSE2 and AVX2_256 |
| FFTW | 3.3.11, single precision, runtime dispatch (SSE2, AVX, AVX2, AVX-512 code) |
| Open MPI | 5.0.11 (mpirun, libraries) |
| Colvars | built into GROMACS (version 2025-10-13) |
| Operating system | Ubuntu 26.04 |
| Not in the image | compiler, CUDA toolkit, PLUMED library, AVX_256 and AVX_512 builds, double precision, gmxapi, CP2K |
Layout: /gromacs/bin/gmx and /gromacs/bin/gmx_mpi are the launcher (on PATH); the real programs are in /gromacs/bin.SSE2 and /gromacs/bin.AVX2_256; force fields are in /gromacs/share; Open MPI is in /opt/openmpi. The complete package list is software-versions.txt in each Zenodo record; the SBOM is sbom.spdx.json.
6. Usage guide¶
# CPU, one machine, thread-MPI
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/work" firesimulations/gromacs:2026.4-auto-r1 gmx grompp -f md.mdp -c conf.gro -p topol.top -o md.tpr
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/work" firesimulations/gromacs:2026.4-auto-r1 gmx mdrun -deffnm md -ntmpi 2 -ntomp 4
# MPI: 4 ranks (as a normal user no extra flag; as root add --allow-run-as-root; --oversubscribe allows more ranks than cores)
docker run --rm --shm-size=1g -u "$(id -u):$(id -g)" -v "$PWD:/work" firesimulations/gromacs:2026.4-auto-r1 mpirun -np 4 gmx_mpi mdrun -deffnm md -ntomp 2
Choosing the CPU level. The launcher picks the best level automatically. GMX_SIMD=SSE2 or GMX_SIMD=AVX2_256 forces a level (refused if the CPU cannot run it unless GMX_SIMD_FORCE=1); GMX_LAUNCHER_DEBUG=1 prints the choice:
docker run --rm -e GMX_SIMD=SSE2 firesimulations/gromacs:2026.4-auto-r1 gmx --version | grep SIMD
Enhanced sampling. PLUMED is not in the image. gmx --version reports Plumed support: enabled because GROMACS 2026 compiles in its PLUMED interface, but the library is absent and gmx mdrun -plumed stops with a message that PLUMED is not available. Colvars is built in and works (metadynamics, well-tempered metadynamics, ABF, umbrella and steered restraints). Enable it in the .mdp file with colvars-active = yes and colvars-configfile = colvars.dat; a minimal metadynamics configuration:
colvar {
name d
width 0.1
lowerBoundary 0.0
upperBoundary 3.0
distance { group1 { atomNumbers 1 } group2 { atomNumbers 4 } }
}
metadynamics { name meta colvars d hillWeight 0.05 newHillFrequency 20 hillWidth 3.0 writeHillsTrajectory on }
It writes <name>.colvars.traj, <name>.colvars.state and <name>.colvars.meta.hills.traj. Umbrella sampling with gmx wham works as usual. If you need PLUMED itself (existing plumed.dat inputs), a later image revision would have to be built and tested.
7. Input and output conventions¶
| Item | Value |
|---|---|
| Working directory | /work (mount your project here) |
| Files | created with your user id when you pass -u "$(id -u):$(id -g)" |
| Exit status | non-zero when a GROMACS command fails |
| Environment variables | GMX_SIMD, GMX_SIMD_FORCE, GMX_LAUNCHER_DEBUG (launcher); the usual GMX_* and OMP_NUM_THREADS |
| Shared memory | add --shm-size=1g for several MPI ranks |
8. Performance and resources¶
Choose the thread layout explicitly (-ntmpi, -ntomp; for MPI -np and -ntomp) and report it in your methods. On the maintainers' test (5832 SPC waters, -ntmpi 2) the CPU run reached 73 ns/day; your numbers depend on the CPU and system.
9. Verification¶
docker run --rm firesimulations/gromacs:2026.4-auto-r1 gmx --version | grep -E 'GROMACS version|SIMD|MPI library|GPU support'
Expected: GROMACS version: 2026.4, SIMD AVX2_256 on a modern CPU, and GPU support disabled. Measured by the maintainers before release (18 Nov 2026, Intel i7-13700): 31 of 31 checks passed. Both also ran as uid 4242 on a read-only root file system. Checked: versions, both programs and both levels present, no missing library, no compiler left in the image, launcher choice and forcing, a failing command gives a non-zero exit, mpirun starts without warnings with two ranks, and a real simulation (5832 SPC waters, minimisation plus 5000 MD steps) through thread-MPI, MPI and SSE2, each compared with the average potential energy of an earlier GROMACS 2024.3 image (about −243 400 kJ/mol, tolerance 3200 kJ/mol, twice the statistical error). GROMACS' own unit tests passed for every build (94 of 94 thread-MPI, 89 of 89 MPI, at both levels) and its regression suite regressiontests-2026.4: 42 of 42 complex and 7 of 7 essential-dynamics tests passed.
The release pipeline additionally runs a 20-step water-box simulation as the image user and as uid 4242 on a read-only root file system, and scans the image for fixable critical or high vulnerabilities and secrets.
10. Reproducibility checklist for a paper¶
Record: tag, digest and version DOI of the release note; the .mdp, .tpr and topology files with their SHA-256; the command lines including -ntmpi, -ntomp, -nb/-pme/-update choices; the SIMD level printed in the log header. Results from different SIMD levels, thread counts or GPUs are not bit-identical; state which you used.
11. How to cite¶
Primary reference: this container image. If you use this image, cite its Zenodo record (the version DOI of the tag you used):
Noor, D. H. (2026). GROMACS 2026.4 CPU container image (Version 2026.4-auto-r1+doc2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24628429
@software{scdoc_gromacs_cpu_2026_4_auto_r1_doc2,
author = {Noor, Dilwar Hossain},
title = {GROMACS 2026.4 CPU container image},
version = {2026.4-auto-r1+doc2},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24628429},
url = {https://doi.org/10.5281/zenodo.24628429}
}
All versions of this image line: concept DOI 10.5281/zenodo.24615953. Each Zenodo record also contains CITATION.cff and CITATION.bib; the release notes list every tag.
Secondary references: the programs inside this image. Please also cite the original publications of the programs you used, for example:
Abraham, M. J., Murtola, T., Schulz, R., Páll, S., Smith, J. C., Hess, B., & Lindahl, E. (2015). GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX 1–2, 19–25. https://doi.org/10.1016/j.softx.2015.06.001
Also cite the force field and any method you used (for example Colvars, PME, thermostat and barostat papers).
12. Licences and source offer¶
| Component | Licence |
|---|---|
| GROMACS 2026.4 | LGPL-2.1-or-later |
| FFTW 3.3.11 | GPL-2.0-or-later (a binary that links FFTW is distributed under GPL terms) |
| Open MPI 5.0.11 | BSD-3-Clause |
| hwloc | BSD-3-Clause |
| Operating-system packages | mixed (GPL, LGPL, BSD, MIT); copyright files inside the image and in THIRD_PARTY_LICENSES.txt of the Zenodo record |
Source offer. The same unmodified source archives are also preserved in the Zenodo record 10.5281/zenodo.24615769 (file list and checksums in its SOURCES.md). The programs were built from the unmodified upstream sources below; no patches were applied.
| Source | URL | SHA-256 |
|---|---|---|
| GROMACS 2026.4 | https://ftp.gromacs.org/gromacs/gromacs-2026.4.tar.gz | 58eda60979b124fcf9dff8b1b63cedfbc72fdb36d99e921dc1bdc310571098b6 |
| FFTW 3.3.11 | https://www.fftw.org/fftw-3.3.11.tar.gz | 5630c24cdeb33b131612f7eb4b1a9934234754f9f388ff8617458d0be6f239a1 |
| Open MPI 5.0.11 | https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.11.tar.bz2 | e668a3c4acd50c41dc204c8a6dd98a611e0f26af89cf677577fa9be8a2698003 |
Build options (the options that shape the binaries; the build recipe itself is not distributed):
- GROMACS (CMake):
-DCMAKE_BUILD_TYPE=Release -DGMX_SIMD=<SSE2|AVX2_256> -DGMX_USE_RDTSCP=OFF -DGMX_FFT_LIBRARY=fftw3 -DGMX_HWLOC=ON -DGMX_OPENMP=ON -DBUILD_SHARED_LIBS=ON -DGMXAPI=OFF -DGMX_INSTALL_NBLIB_API=OFF -DGMX_DEFAULT_SUFFIX=OFF; thread-MPI build with-DGMX_MPI=OFF -DGMX_THREAD_MPI=ON; MPI build with-DGMX_MPI=ON -DGMX_THREAD_MPI=OFF, the Open MPI compiler wrappers,-DGMX_BINARY_SUFFIX=_mpi -DGMX_LIBS_SUFFIX=_mpi;-DGMX_GPU=OFF. - FFTW:
./configure --prefix=/opt/fftw --enable-float --enable-shared --disable-static --enable-sse2 --enable-avx --enable-avx2 --enable-avx512 - Open MPI:
./configure --prefix=/opt/openmpi --with-hwloc=external --disable-mpi-fortran --disable-man-pages
On request to the maintainer, the corresponding source will be provided for three years from the release date. The launcher that selects the SIMD level is a small script of ours (not GROMACS source).
13. Known limits and troubleshooting¶
No special troubleshooting is known for this image beyond the notes below.
- MPI as root needs --allow-run-as-root (not set globally on purpose); as a normal user (-u) it works without.
- Not tested: more than 2 MPI ranks, several machines, AMD CPUs, CPUs without AVX2 (the SSE2 level is tested through GMX_SIMD=SSE2 on an AVX2 CPU, not on an old CPU).
- Not built: AVX_256 and AVX_512 levels, double precision, GROMACS with CP2K (see the QM/MM image), gmxapi (see the gmxapi image).
14. Changelog¶
| Tag | Date | Change |
|---|---|---|
2026.4-auto-r1 |
2026-11-28 | first release |