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

NAMD jobs

What HiveBoard shows for a NAMD job on a Slurm cluster: steps from the ENERGY lines with NAMD's own timing, energy and pressure charts, and the 3-D frame.

5 min read HiveBoard 0.1.7 Updated

In short

  • HiveBoard recognises a NAMD folder by a .namd configuration, an .xsc or .xst file, or by keywords such as outputName and paraTypeCharmm in the configuration.
  • Progress is the step of the last ENERGY line against the run and minimize commands added up, and the time left uses NAMD's own wall time per step.
  • The spec was checked against one real NAMD 2.10 log; NAMD 3 is untested.

HiveBoard follows a NAMD job by reading its configuration (Tcl) and its log, which NAMD writes to standard output, so its name is whatever the job script chose. Every outputEnergies steps the log gets one ENERGY: line, and the ETITLE: line says what its columns mean. 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 NAMD and its kind of run.

What HiveBoard shows

Progress and time left

Progress is the step (TS) of the last ENERGY: line, against the first of these that HiveBoard can work out:

  1. The run and minimize commands of the configuration added up — when each gives a plain number, none sits in a loop and the run does not start from a firsttimestep.
  2. numsteps, as NAMD echoes it at start-up.
  3. The run commands the log shows started (“TCL: Running for … steps”), added up.

Otherwise the bar is the share of the wall-time limit used. The time left uses NAMD’s own wall time per step from its last TIMING: line (”~…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 NAMD’s WallClock: line, the bar is full.

Typical status sentences: “Step … of ….”, “Running — step ….”, “Minimising — step ….”, “NAMD finished at step … after … s.”

Figures and charts

The first fifteen columns of an ENERGY: line have not changed in any NAMD release, and a periodic run adds pressure and volume columns. HiveBoard reads them by position, and only when the ETITLE: at the top of the log says they are the standard ones. The Overview then shows Step, Temperature (with the recent average in its hint), Potential energy and Total energy (kcal/mol), and for a periodic run Pressure and Volume. From the timing lines come Speed (s/step), Performance (ns/day), Benchmark (NAMD’s own, in days/ns) and NAMD’s estimate (its “hours remaining”, for the current run command only); and Run time, Atoms and Version.

The charts are Potential energy, Temperature, Pressure and Volume over the recent ENERGY: lines — temperature, pressure and volume not for a minimisation, pressure and volume only for a periodic run. A chart appears once it has two points.

Errors and warnings

A fatal error is quoted: “NAMD stopped: …”. A constraint failure or atoms moving too fast reads “The simulation became unstable — …”. Warnings say when NAMD reports a low global exclusion count, when pairlistdist is too small, and when stray PME grid charges were detected. “No output update for N min — job may be stalled.” appears when the log has not changed for more than 15 minutes while the job runs.

Setup

The Setup tab’s Calculation setup shows Time step, Steps, Minimisation, Thermostat, Barostat, Electrostatics, Solvent, Cut-off, Structure, Coordinates, Output name, Energy output and Parallel — from the log where NAMD states them, from the configuration for a job that has not started.

HiveBoard does not restart NAMD runs: Continue is offered for VASP only. NAMD continues from its restart files (binCoordinates, binVelocities, extendedSystem and firsttimestep), which you set up yourself.

Kinds of run it tells apart

HiveBoard reads the kind from the configuration and takes the first that fits:

KindWhat it means
Free energyAlchemical free-energy perturbation or thermodynamic integration (alch on)
MDMolecular dynamics (run N, or numsteps)
MinimisationEnergy minimisation only (minimize N, no run)
RunA configuration without a run, numsteps or minimize of its own (it sources another file)

The 3-D structure

The Structure tab shows the first of these that yields atoms, one frame each:

  1. The final coordinates, .coor — readable only when binaryoutput is off, which makes it PDB text; a binary .coor gives nothing.
  2. The newest .pdb in the folder, the coordinates the run starts from — its first 2 MB.

A PDB that states its cell (CRYST1) has it drawn. A queued job shows only the starting coordinates — see Queued jobs and reused folders.

Files it recognises

These are the files the NAMD spec names:

RoleNamesWhat it is
Configuration*.namd, *.confThe configuration (Tcl): structure, coordinates, parameters, timestep, numsteps / run N, minimize N
Log*.log, *.outThe log: start-up Info: lines, then an ENERGY: line every outputEnergies steps
Final coordinates*.coorFinal coordinates — readable only when binaryoutput is off (PDB text)
Starting coordinates*.pdbThe coordinates the run starts from
Structure and parameters*.psf, *.prm, *.strStructure (X-PLOR / CHARMM PSF); force-field parameters; force-field stream file
Trajectory*.dcdTrajectory
Restarts*.restart.coor, *.restart.vel, *.restart.xscRestart coordinates (binary); restart velocities (binary); restart cell
Final state*.vel, *.xsc, *.xstFinal velocities; final periodic cell; cell trajectory
Analysis*.fepout, *.colvars.trajAlchemical free-energy output; collective-variable trajectory

A file is read as the configuration only if it holds outputname, paratypecharmm, coordinates or parmfile, and as the log only if it holds “Info: NAMD”; of several, the newest is read. The trajectory, the binary restarts and the final velocities are marked as large: the download button on the row asks before copying one to your computer. In the What it is column of the Files tab, a *.restart.coor is described as the final coordinates, because its name also fits *.coor.

How HiveBoard recognises a NAMD folder

  • Tell-tale names: *.namd, *.xsc and *.xst mean NAMD on their own.
  • Signature: a configuration whose top sets keywords such as paraTypeCharmm, outputName, binCoordinates, extendedSystem, cellBasisVector1, langevinPiston, PMEGridSpacing or rigidBonds; or a log that begins with “Info: NAMD” and a version.
  • Shared names: *.conf, *.log, *.out, *.coor, *.psf and *.dcd count only with the signature.

HiveBoard goes by the folder’s files, not by your batch script or the program it starts (namd2, namd3, charmrun). More in How codes are recognised.

What it was checked against

One real NAMD 2.10 log. NAMD 3 is untested.

HiveBoard is an independent program: it reads the files NAMD writes and is not made by, or connected with, NAMD’s developers.

Known limits

  • The ENERGY: columns are read by position in the layouts the spec lists; any other layout gives the step and the progress, but no figures and no chart for the columns.
  • No simulated time is shown: it is the step times the time step, and a spec cannot multiply two values.
  • A .coor or .pdb 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 configuration 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