HiveBoard Docs Search the docs… Ctrl K Get HiveBoard
Browse the help centre
  1. Help centre
  2. Simulation codes

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.

5 min read HiveBoard 0.1.7 Updated

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:

KindWhat it means
MinimisationEnergy minimisation (integrator = steep, cg or l-bfgs)
Free energyAlchemical free-energy run (free_energy = yes): one lambda window
PullingCentre-of-mass pulling or umbrella sampling (pull = yes)
MDMolecular dynamics (integrator = md, md-vv, sd or bd)

The 3-D structure

The Structure tab shows the first of these that the folder has:

  1. The final configuration mdrun -deffnm wrote: the .gro with the log’s name.
  2. confout.gro, the final configuration under mdrun’s default name.
  3. 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:

RoleNamesWhat it is
Parameters*.mdpRun parameters: integrator, nsteps, dt, thermostat, barostat (mdout.mdp is the full copy grompp wrote)
Log*.logmd.log — the parameters, an energy table every nstlog steps, performance at the end
Final configurationthe .gro with the log’s nameFinal configuration written by mdrun -deffnm
Default final configurationconfout.groFinal configuration under mdrun’s default name
Starting configurationother *.groStarting configuration given to grompp
Run input*.tprRun input: topology, parameters and coordinates in one binary file
Topology*.top, *.itp, *.ndxTopology; included topology; index groups
Trajectories*.xtc, *.trrCompressed trajectory; full-precision trajectory (positions, velocities, forces)
Energies*.edrEnergies, binary (read with gmx energy)
Checkpoint*.cptCheckpoint — what mdrun -cpi continues from
Plot data*.xvgPlot 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, *.edr and md.log mean GROMACS on their own.
  • Signature: an .mdp whose top sets parameters such as integrator, nsteps, tcoupl, coulombtype or nstlog; or a log that begins with the GROMACS banner or names gmx mdrun.
  • Shared names: *.gro, *.xtc, *.trr, *.cpt, *.top and *.log count 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 .gro larger than the part HiveBoard reads is cut, or not shown, without a note saying so.
  • In a folder that holds several runs, the newest .mdp and the newest log are picked separately and may belong to different runs.

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.

↑ ↓ to moveEnter to openEsc to close