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

xtb jobs

What HiveBoard shows for an xtb job on a Slurm cluster: optimisation cycles and MD steps, energy and gradient charts, warnings and the 3-D trajectory.

6 min read HiveBoard 0.1.7 Updated

In short

  • HiveBoard recognises an xtb folder by the files xtb leaves behind (xtbopt.xyz, xtbrestart, wbo and others), by a detailed input of $-blocks, or by xtb's banner in the printout.
  • xtb's kind of run is on its command line, which xtb echoes into its printout — so the job list says Run until you open the job.
  • The Structure tab plays xtbopt.log, xtb.trj or xtbscan.log, and falls back to xtbopt.xyz or the starting geometry.

An xtb job has no input deck: it is a command line (xtb mol.xyz --opt --alpb water), a geometry file and, if you need one, a detailed input of $-blocks (xtb.inp, xcontrol). xtb prints the command line at the top of its printout, and HiveBoard reads the kind of run from there, then follows the optimisation cycles, MD steps and the closing summary. 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 xTB.

What HiveBoard shows

Progress and time left

  • An optimisation, Opt + Hessian or relaxed scan that has not converged — optimisation cycles started, against max. optcycles as xtb prints it.
  • MD or metadynamics — the latest MD step printed, against max steps.

Anything else shows the share of the wall-time limit used. The time left is the time per cycle or step so far times those left (”~…s per optimisation cycle × up to … left (often finishes sooner)”), never longer than the time before the wall-time limit. When the printout ends with xtb’s “finished run on” line, the bar is full.

Typical status sentences: “Optimising — cycle … of up to ….”, “Geometry converged after … optimisation cycles.”, “Molecular dynamics: step … of … (… ps).”, “Optimised in … cycles, then the Hessian: … imaginary modes.”

Figures and charts

The Overview shows the figures that apply: Energy (from the closing summary, else the latest optimisation cycle, else the first single point), Optimisation cycles, Gradient norm (hover it for the threshold), MD step, Temperature, HOMO-LUMO gap, Imaginary modes, Zero-point energy, Free energy, Electrons, Basis functions, Run time and Version.

The charts:

  • an optimisation — Energy relative to the latest cycle (eV) and Gradient norm (with a line at its threshold);
  • MD or metadynamics — Total energy (recent MD output) and Temperature (recent MD output).

A chart appears once it has two points.

Errors and warnings

An error is quoted: “xtb stopped: …”, from xtb’s [ERROR] message. Warnings say when an optimisation used all its cycles without converging (its last geometry is in xtblast.xyz), when the charge iterations did not converge, what an xtb [WARNING] said, and how many imaginary modes a Hessian found. “No output update for N min — job may be stalled.” appears when the printout has not changed for more than 15 minutes while the job runs.

Setup

The Setup tab’s Calculation setup shows the Command as xtb echoed it, Method (the Hamiltonian), Solvent, Charge, Unpaired electrons, Optimisation level, Max optimisation cycles, MD length, Thermostat and Threads.

HiveBoard does not restart xtb runs: Continue is offered for VASP only. Restarting xtb means running it again in the same folder, where it reads xtbrestart by itself.

Kinds of run it tells apart

HiveBoard reads the kind from the command line xtb echoes, and takes the first that fits:

KindWhat it means
MetadynamicsMolecular dynamics with an RMSD bias that pushes the system out of visited structures (—metadyn)
MDMolecular dynamics (—md, or —omd after an optimisation)
Reaction pathReaction-path search between two structures (—path)
Relaxed scanConstrained optimisations along a coordinate ($scan in the detailed input)
Opt + HessianGeometry optimisation followed by a numerical Hessian and thermochemistry (—ohess)
HessianNumerical Hessian, frequencies and thermochemistry (—hess)
OptimisationGeometry optimisation with the ANC optimiser (—opt)
IP / EAVertical ionisation potential, electron affinity or Fukui indices
Single pointEnergy (and gradient) at a fixed geometry
RunAn xtb job — the kind is on its command line, which xtb prints once it starts

The 3-D structure

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

  1. xtb.trj — the MD or metadynamics trajectory, up to the last 40 frames.
  2. xtbopt.log — every optimisation cycle.
  3. xtbscan.log — the optimised geometry of every scan point.
  4. xtbopt.xyz — the optimised geometry.
  5. The starting .xyz given on the command line.

A molecule has no cell, so none is drawn. A queued job shows only the starting geometry — see Queued jobs and reused folders.

Files it recognises

These are the files the xtb spec names:

RoleNamesWhat it is
Detailed inputxtb.inp, xcontrol, *.xcontrol, *.inpDetailed input (xcontrol): $-blocks of settings and constraints, given with —input
Printout*.out, *.logxtb’s printout (its standard output, redirected to a file)
MD trajectoryxtb.trjMD / metadynamics trajectory, XYZ frames
Optimisationxtbopt.logEvery optimisation cycle as an XYZ frame, energy in the comment line
Scanxtbscan.logOptimised geometry of every point of a relaxed scan
Resultxtbopt.xyzThe optimised geometry
Start*.xyzThe starting geometry given on the command line
RestartxtbrestartRestart wavefunction — the next run in this folder reads it by itself
Othersxtbtopo.mol, charges, wbo, hessian, vibspectrum, mdrestart, scoord.*Topology, partial charges, Wiberg bond orders, the Hessian, frequencies, MD restart, MD snapshots

The What it is column of the Files tab shows these notes, with one catch.

How HiveBoard recognises an xtb folder

  • Tell-tale names: files xtb writes itself — xtbopt.*, xtbrestart, xtbtopo.mol, xtb.trj, xtbscan.log, xtblast.*, xtbhess.*, wbo, mdrestart, g98.out, vibspectrum — and the detailed inputs xtb.inp and xcontrol.
  • Signature: a detailed input whose top has a $-block such as $opt, $md, $chrg or $scan; or a printout with xtb’s “x T B” banner, an “xtb version” line, or the line xtb puts at the top of its normal-mode file.
  • Shared names: *.out, *.log, *.inp and *.xcontrol count only with the signature.

HiveBoard goes by the folder’s files, not by your batch script: it learns xtb’s command line only from xtb’s own printout. More in How codes are recognised.

What it was checked against

Real output of xtb 6.5.1 to 6.7.1. MD and the error messages were written from xtb’s source only.

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

Known limits

  • The kind is on the command line, which only the printout holds, so the job list says Run until you open the job — and a queued job, which has no printout yet, stays a Run.
  • In a folder that holds several calculations, the newest printout and the newest geometry 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