gmx_MMPBSA 1.7.1 container image¶
1. What this image is¶
firesimulations/gromacs:mmpbsa1.7.1-r1 is gmx_MMPBSA 1.7.1 with AmberTools 26.0, Open MPI 5.0.11 and the CPU GROMACS tools it needs to read .tpr, index and .xtc files, plus the analysis GUI, for MM/PBSA and MM/GBSA binding free-energy calculations from GROMACS (or AMBER) trajectories. CPU and MPI only: no GPU, no CUDA, no mdrun. Commands are called directly (no conda activation). Linux amd64 only; the GROMACS tools in it need a CPU with AVX2.
2. Tags and versions¶
| Tag | Contents |
|---|---|
mmpbsa1.7.1-r1 |
gmx_MMPBSA 1.7.1, AmberTools 26.0, GROMACS 2026.3 tools |
Tag pattern for add-on images in this repository: <add-on><version>-r<N>.
A published tag never changes; a changed image gets the next -rN (tags and revisions). Digests and DOIs: release notes.
3. Get the image¶
docker pull firesimulations/gromacs:mmpbsa1.7.1-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:mmpbsa1.7.1-r1 mmpbsa-versions
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/workspace" firesimulations/gromacs:mmpbsa1.7.1-r1 mpirun -np 8 gmx_MMPBSA -O -i mmpbsa.in -cs com.tpr -ci index.ndx -cg receptor ligand -cp topol.top -ct com_traj.xtc -nogui
docker run --rm -v "${PWD}:/workspace" firesimulations/gromacs:mmpbsa1.7.1-r1 mpirun -np 8 gmx_MMPBSA -O -i mmpbsa.in -cs com.tpr -ci index.ndx -cg receptor ligand -cp topol.top -ct com_traj.xtc -nogui
There is no entrypoint: the command follows the image name. The working directory is /workspace. The image runs as the unprivileged user mambauser; pass -u "$(id -u):$(id -g)" so that files belong to you. The default command is gmx_MMPBSA --help.
5. What is inside¶
| Program | Use |
|---|---|
gmx_MMPBSA |
MM/PBSA and MM/GBSA from GROMACS files (.tpr, .xtc, .ndx, topol.top) |
amber_MMPBSA |
the same calculation from AMBER files (.prmtop, trajectory, masks); does not look for GROMACS |
gmx_MMPBSA_ana |
analysis GUI (PyQt6) |
gmx_MMPBSA_test |
upstream example runner |
mpirun (Open MPI 5.0.11), mpi4py |
parallel energy calculation |
gmx (GROMACS 2026.3, CPU, thread-MPI) |
only make_ndx, editconf, trjconv for gmx_MMPBSA; never gmx_mpi |
sander, cpptraj, tleap, parmchk2, MMPBSA.py, … |
AmberTools 26.0 |
mmpbsa-versions |
prints the versions of everything inside as JSON |
Python 3.12, NumPy 1.26.4 (gmx_MMPBSA needs NumPy below 2), pandas, SciPy, matplotlib, seaborn, ParmEd 4.3.1.
The complete package list is software-versions.txt in each Zenodo record; the SBOM is sbom.spdx.json.
6. Usage guide¶
Mount your project at /workspace.
From GROMACS files (-cg gives the receptor and ligand groups of index.ndx, -cp is the GROMACS topology, required in 1.7.1):
mmpbsa() { docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/workspace" firesimulations/gromacs:mmpbsa1.7.1-r1 "$@"; }
mmpbsa mpirun -np 8 gmx_MMPBSA -O -i mmpbsa.in -cs com.tpr -ci index.ndx -cg receptor ligand -cp topol.top -ct com_traj.xtc -nogui
From AMBER files (no GROMACS needed; masks select receptor and ligand in the complex topology):
mmpbsa mpirun -np 8 amber_MMPBSA -O -i mmpbsa.in -cp system.prmtop -ct system.xtc -cm ":1-58" ":59" -nogui
Sample input files: mmpbsa gmx_MMPBSA --create_input gb (also pb, decomp, ala, nmode, rism, gbnsr6, all).
- MPI.
mpirun -np N; N must not be larger than the number of frames or cores (--oversubscribeallows more ranks than cores). Only the energy part is parallel. Give Docker enough CPUs and memory;nmodeneeds RAM for every rank. - Input file names. With
-O, gmx_MMPBSA deletes files with its own temporary names, among themCOM.prmtop,REC.prmtop,LIG.prmtopandCOM_traj_N.xtc. Do not name your own files like that. - Prepare the trajectory first: centred, no periodic-boundary artefacts, fitted (
gmx editconf,gmx make_ndx,gmx trjconv, see the upstream page https://valdes-tresanco-ms.github.io/gmx_MMPBSA/ ). -noguistopsgmx_MMPBSAfrom openinggmx_MMPBSA_anawhen it finishes. Without it and without a display the calculation still completes and writes all results, then printsqt.qpa.xcb: could not connect to display; the exit status is 0..tprfiles are read by the same or a newer GROMACS than the one that wrote them; the image has GROMACS 2026.3.
GUI. Run gmx_MMPBSA_ana -f _GMXMMPBSA_info from the folder that contains _GMXMMPBSA_info, with X11 forwarded. Tested under WSL2 with WSLg:
docker run --rm -e DISPLAY=$DISPLAY -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY -e XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir \
-v /tmp/.X11-unix:/tmp/.X11-unix -v /mnt/wslg:/mnt/wslg -v "$PWD:/workspace" \
firesimulations/gromacs:mmpbsa1.7.1-r1 gmx_MMPBSA_ana -f _GMXMMPBSA_info
7. Input and output conventions¶
| Item | Value |
|---|---|
| Working directory | /workspace |
| Results | FINAL_RESULTS_MMPBSA.dat, _GMXMMPBSA_info and related files in the working directory |
| Exit status | non-zero on failure |
8. Performance and resources¶
Use mpirun -np N with N up to the number of frames and cores. A real run of 400 frames with GB and PB on 4 ranks took 18 minutes in the maintainers' test (17 Nov 2026).
9. Verification¶
docker run --rm firesimulations/gromacs:mmpbsa1.7.1-r1 gmx_MMPBSA --version
Expected: gmx_MMPBSA 1.7.1 based on MMPBSA version 14.0, AmberTools 26.0, and GROMACS 2026.3. The release pipeline checks the versions, runs the tools as the image user and as uid 4242 on a read-only root file system, and scans the image. The maintainers' test suite before release: 32 checks inside the container (versions, commands on PATH, 2 MPI ranks, gmx without CUDA and without gmx_mpi, Qt offscreen, clear error when GROMACS is missing, read-only root as uid 4242); the upstream examples through gmx_MMPBSA_test with 2 MPI ranks (protein-ligand, protein-protein, protein-DNA, protein-glycan, alanine scanning, stability, decomposition, interaction entropy, linear and non-linear PB, AMBER input) all passed on 17 Nov 2026; the same system through amber_MMPBSA gave the same ΔTOTAL as the gmx_MMPBSA route; the GUI opened on the results of a real run.
The release pipeline additionally ran the image's smoke test as the image user and as uid 4242 on a read-only root file system, scanned the image for fixable critical or high vulnerabilities and for embedded secrets, and recorded the results in the release note and in smoke-test-report.txt of the Zenodo record.
10. Reproducibility checklist for a paper¶
Record: the tag, the digest and the version DOI of the release note; the exact command lines; the SHA-256 of every input file; the full mmpbsa.in input, the frame selection, the topology and trajectory hashes, the number of MPI ranks, and the output of mmpbsa-versions.
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). gmx_MMPBSA 1.7.1 container image (Version mmpbsa1.7.1-r1+doc2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24628430
@software{scdoc_mmpbsa_mmpbsa1_7_1_r1_doc2,
author = {Noor, Dilwar Hossain},
title = {gmx_MMPBSA 1.7.1 container image},
version = {mmpbsa1.7.1-r1+doc2},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24628430},
url = {https://doi.org/10.5281/zenodo.24628430}
}
All versions of this image line: concept DOI 10.5281/zenodo.24616389. 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:
- gmx_MMPBSA: Valdés-Tresanco, M. S. et al. (2021). gmx_MMPBSA: A new tool to perform end-state free energy calculations with GROMACS. J. Chem. Theory Comput. 17, 6281–6291. https://doi.org/10.1021/acs.jctc.1c00645
- MMPBSA.py: Miller, B. R. et al. (2012). J. Chem. Theory Comput. 8, 3314–3321. https://doi.org/10.1021/ct300418h
- AmberTools: Case, D. A. et al. (2023). J. Chem. Inf. Model. 63, 6183–6191. https://doi.org/10.1021/acs.jcim.3c01153
- GROMACS: Abraham, M. J. et al. (2015). SoftwareX 1–2, 19–25. https://doi.org/10.1016/j.softx.2015.06.001
12. Licences and source offer¶
| Component | Licence |
|---|---|
| gmx_MMPBSA 1.7.1 | GPL |
| AmberTools 26.0 | GPL-3.0-or-later, LGPL-3.0-or-later, BSD-3-Clause and MIT (as declared in the conda package metadata) |
| GROMACS 2026.3 (conda-forge build) | LGPL-2.1-or-later |
| PyQt6 | GPL-3.0 |
| Intel MKL (a dependency) | Intel Simplified Software License (October 2022) |
| Open MPI | BSD-3-Clause |
Per-package licences are in THIRD_PARTY_LICENSES.txt and the SBOM of the Zenodo record. The image as a whole is distributed under GPL terms for its GPL components.
Source offer. All packages come from conda-forge at the exact builds recorded in software-versions.txt (the explicit lock), and from PyPI for the pinned gmx_MMPBSA Python packages; sources are available from the upstream projects (gmx_MMPBSA https://github.com/Valdes-Tresanco-MS/gmx_MMPBSA, release 1.7.1) and the conda-forge feedstocks. On request to the maintainer, the corresponding source of any GPL/LGPL component will be provided for three years from the release date. The build recipe is not distributed.
13. Known limits and troubleshooting¶
- No GPU; gmx_MMPBSA 1.7.1 has no GPU path.
- The GROMACS tools in the image are built for AVX2; on a CPU without AVX2
gmxstops with an illegal-instruction error (amber_MMPBSAis not affected). pip checkreports AmberTools' own bundled tools (packmol-memgen,edgembar,proprep,fetkutils,ndfes); none is used by gmx_MMPBSA.- With GROMACS 2026 force-field ports a user reported problems with CMAP sections and relative include paths (unverified).
- A vulnerability scan found fixable HIGH findings only in libraries vendored inside
pip, which no gmx_MMPBSA command imports; the result of this release is in the release note.
14. Changelog¶
| Tag | Date | Change |
|---|---|---|
mmpbsa1.7.1-r1 |
2026-11-28 | first release |