GROMACS jobs
What HiveBoard shows for a GROMACS job on a Slurm cluster: steps against nsteps with time left, energy, temperature and pressure charts, and the box.
In short
- HiveBoard recognises a GROMACS folder by an .mdp, .tpr or .edr file or md.log, and reads md.log — never the binary trajectory, energy or checkpoint files.
- Progress is the last logged step against nsteps (or the -nsteps override); a run with nsteps = -1 has no limit to count against.
- Warnings name LINCS failures, load imbalance, PME ranks and a stop at -maxh in plain words.
HiveBoard follows a GROMACS run by reading the .mdp it was given and md.log, which holds the parameters again, an energy table every nstlog steps and the performance at the end. The trajectories (.xtc, .trr), the energy file (.edr) and the checkpoint are binary and are not read. Following the job installs nothing on the cluster and changes nothing in the folder. In the job list, your own job carries the code tag GROMACS and its kind of run.
What HiveBoard shows
Progress and time left
Progress is the step of the last energy table in md.log, against nsteps — the value an -nsteps on the command line put in its place when there is one. A run with nsteps = -1 has no step limit, so its bar is the share of the wall-time limit used. The time left is the time per thousand steps so far times the thousands left (”~…s per 1000 steps × up to … left (often finishes sooner)”), never longer than the time before the wall-time limit. When the log ends with “Finished mdrun”, the bar is full.
Typical status sentences: “Step … of … — … ns simulated.”, “Running without a step limit — step …, … ns so far.”, “Finished: … ns simulated at … ns/day.”, “Minimisation converged in … steps (largest force … kJ/mol/nm).”
Figures and charts
The Overview shows the figures that apply: Step, Simulated time, Temperature (with the reference temperature in its hint), Potential energy, Pressure, Conserved energy, Largest force (a minimisation), Performance (ns/day, printed when the run ends), Run time, Atoms and Version. All are taken at the last logged step.
The charts, from the energy tables at the end of the log (about the last 150 of them):
- Potential energy (recent log frames);
- Temperature (recent log frames) and Pressure (recent log frames), except for a minimisation.
A chart appears once it has two points.
Errors and warnings
A fatal error is quoted: “GROMACS stopped with a fatal error: …”. Warnings say when LINCS reports violated bond constraints (the system is probably blowing up), when a water molecule could not be settled, when a minimisation stopped at machine precision or used all its steps without reaching Fmax, how much CPU time was lost to load imbalance, how much performance was lost because the PME ranks had less work than the PP ranks, and when mdrun stopped itself at its -maxh limit before nsteps. “No output update for N min — job may be stalled.” appears when md.log has not changed for more than 15 minutes while the job runs.
Setup
The Setup tab’s Calculation setup shows Integrator, Steps (nsteps × dt), Step limit and Force tolerance (a minimisation), Thermostat, Barostat, Electrostatics, Constraints, Lambda state, Log interval and Parallel — from md.log, or from the .mdp for a job that has not written its log yet.
HiveBoard does not restart GROMACS runs: Continue is offered for VASP only. GROMACS continues from its checkpoint (gmx mdrun -cpi, after gmx convert-tpr -extend when more steps are wanted), which you do yourself.
Kinds of run it tells apart
HiveBoard reads the kind from the .mdp and takes the first that fits:
| Kind | What it means |
|---|---|
| Minimisation | Energy minimisation (integrator = steep, cg or l-bfgs) |
| Free energy | Alchemical free-energy run (free_energy = yes): one lambda window |
| Pulling | Centre-of-mass pulling or umbrella sampling (pull = yes) |
| MD | Molecular dynamics (integrator = md, md-vv, sd or bd) |
The 3-D structure
The Structure tab shows the first of these that the folder has:
- The final configuration
mdrun -deffnmwrote: the.growith the log’s name. confout.gro, the final configuration under mdrun’s default name.- The newest other
.gro— the starting configuration given to grompp.
A .gro carries the box, so the cell can be drawn. Only the first 2 MB of the file are read. A queued job shows only the starting configuration — see Queued jobs and reused folders.
Files it recognises
These are the files the GROMACS spec names:
| Role | Names | What it is |
|---|---|---|
| Parameters | *.mdp | Run parameters: integrator, nsteps, dt, thermostat, barostat (mdout.mdp is the full copy grompp wrote) |
| Log | *.log | md.log — the parameters, an energy table every nstlog steps, performance at the end |
| Final configuration | the .gro with the log’s name | Final configuration written by mdrun -deffnm |
| Default final configuration | confout.gro | Final configuration under mdrun’s default name |
| Starting configuration | other *.gro | Starting configuration given to grompp |
| Run input | *.tpr | Run input: topology, parameters and coordinates in one binary file |
| Topology | *.top, *.itp, *.ndx | Topology; included topology; index groups |
| Trajectories | *.xtc, *.trr | Compressed trajectory; full-precision trajectory (positions, velocities, forces) |
| Energies | *.edr | Energies, binary (read with gmx energy) |
| Checkpoint | *.cpt | Checkpoint — what mdrun -cpi continues from |
| Plot data | *.xvg | Plot data (pull force and position, dH/dlambda) |
A file is read as the log only if it mentions mdrun, since a saved grompp or gmx energy screen output is a .log too. The trajectories, .edr and .cpt are marked as large: the download button on the row asks before copying one to your computer.
How HiveBoard recognises a GROMACS folder
- Tell-tale names:
*.mdp,*.tpr,*.edrandmd.logmean GROMACS on their own. - Signature: an
.mdpwhose top sets parameters such asintegrator,nsteps,tcoupl,coulombtypeornstlog; or a log that begins with the GROMACS banner or namesgmx mdrun. - Shared names:
*.gro,*.xtc,*.trr,*.cpt,*.topand*.logcount only with the signature.
HiveBoard goes by the folder’s files, not by your batch script or the program it starts (gmx, gmx_mpi, mdrun …). More in How codes are recognised.
What it was checked against
Real md.log files of GROMACS 2018.2 and 2020.3.
HiveBoard is an independent program: it reads the files GROMACS writes and is not made by, or connected with, GROMACS’s developers.
Known limits
- A
.grolarger than the part HiveBoard reads is cut, or not shown, without a note saying so. - In a folder that holds several runs, the newest
.mdpand the newest log are picked separately and may belong to different runs.
Related
Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.