# Q-Chem jobs

> What HiveBoard shows for a Q-Chem job on a Slurm cluster: optimisation cycles, time left, gradient and SCF charts, AIMD temperature and the 3-D geometry.

Source: https://hiveboard.dev/docs/codes/q-chem · Section: Simulation codes · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- HiveBoard recognises a Q-Chem folder by a .qcin, .qin, .qcout or .qout file, or by $rem and $molecule sections in the input.
- Optimisations count cycles against geom_opt_max_cycles and ab initio MD counts time steps against aimd_steps; both optimiser printouts, up to 5.4 and from 6.x, are followed.
- The Structure tab plays every Standard Nuclear Orientation the output printed.

HiveBoard follows a Q-Chem job by reading its input — the `$molecule`, `$rem` and other `$`-sections, with jobs chained by `@@@` — and the output Q-Chem writes: SCF energies, optimisation cycles with their gradient and displacement, MD steps, excited states and frequencies. 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 **Q-Chem** and its kind of run.

## What HiveBoard shows

### Progress and time left

- **An optimisation, TS search or Opt + Freq** that has not converged — optimisation cycles started, against `geom_opt_max_cycles` (50 when the input does not set it).
- **Ab initio MD** — the time step reached, against `aimd_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 output ends with Q-Chem's closing line ("Thank you very much for using Q-Chem"), the bar is full.

Two optimiser printouts are followed: the classic one (up to Q-Chem 5.4) and LIBOPT3 (6.x), whose tables differ. Typical status sentences: "Optimising — cycle … of up to ….", "Geometry converged after … optimisation cycles.", "Transition state located after … optimisation cycles.", "Molecular dynamics: step … of …."

### Figures and charts

The [Overview](/docs/job/overview-tab) shows the figures that apply: **Energy** (the latest converged SCF energy, in Eh), **Correlated energy**, **Optimisation cycles**, **Last SCF**, **Max gradient** and **Max displacement** (hover them for the thresholds), **MD step** and **Temperature**, **IRC points**, **Excited states** and **Lowest excitation**, **Lowest frequency**, **Zero-point energy**, **Electrons**, **Basis functions**, **Run time** and **Version**.

The charts:

- an optimisation or scan — **Energy relative to the latest cycle** (eV), **Maximum gradient** and **Maximum displacement**, each with a line at its threshold;
- an IRC — **Energy along the reaction path**;
- MD — **Temperature** and **Potential energy** per MD step;
- while the job runs — **SCF convergence (recent cycles)**, the DIIS error on a log scale against the SCF threshold.

A chart appears once it has two points.

### Errors and warnings

A fatal error is quoted: "Q-Chem stopped with a fatal error: …". Warnings say when the SCF did not converge within `max_scf_cycles`, when an optimisation used all its cycles, when Q-Chem ran out of memory, and when an optimised or frequency geometry has imaginary frequencies. "No output update for N min — job may be stalled." appears when the output has not changed for more than 15 minutes while the job runs.

### Setup

The [Setup](/docs/job/setup-tab) tab's **Calculation setup** shows Job type, Method, Basis, Charge / multiplicity, Unrestricted, Dispersion, Solvent model, Excited states asked, SCF convergence, Max optimisation cycles, MD, Memory and Threads — each where the input or output gives it.

HiveBoard does not restart Q-Chem runs: **Continue** is offered for VASP only. Restarting Q-Chem means a new input that reads the saved scratch, which you do yourself.

## Kinds of run it tells apart

HiveBoard reads the kind from `$rem` (mostly `jobtype`) and takes the first that fits. In a chained input the first kind that fits any of the jobs wins, so the searches come first:

| Kind | What it means |
|---|---|
| String method | Freezing / growing string — a reaction path between two structures |
| IRC | Intrinsic reaction coordinate — the path down from a transition state (jobtype rpath) |
| TS search | Transition-state optimisation |
| Scan | Potential-energy scan along chosen coordinates (jobtype pes_scan) |
| MD | Ab initio (Born-Oppenheimer) or path-integral molecular dynamics |
| Opt + Freq | Geometry optimisation, then vibrational frequencies in a chained job |
| Optimisation | Geometry optimisation |
| Frequencies | Vibrational analysis and thermochemistry |
| Excited states | CIS / TDDFT, EOM-CC or ADC excitation energies |
| NMR | Chemical shieldings or spin-spin couplings |
| Gradient | Energy and nuclear gradient at a fixed geometry |
| Interaction energy | Energy decomposition, counterpoise correction or SAPT |
| Single point | Energy (and properties) at a fixed geometry |

## The 3-D structure

Q-Chem prints every new geometry — each optimisation cycle, MD step or scan point — as a "Standard Nuclear Orientation" table before its SCF. The [Structure tab](/docs/job/structure-tab) plays those from the last 400 kB of the output, up to the last 40. Before the job has run, it shows the Cartesian geometry of the input's `$molecule`; a Z-matrix or `read` gives no picture. A molecule has no cell, so none is drawn. A queued job shows only the input geometry — see [Queued jobs and reused folders](/docs/job/queued-and-reused-folders).

## Files it recognises

The **What it is** column of the [Files tab](/docs/job/files-tab) names these files:

| Role | Names | What it is |
|---|---|---|
| Input | `*.qcin`, `*.qin`, `*.in`, `*.inp` | $molecule, $rem and the other $-sections; several jobs may be chained with @@@ |
| Output | `*.qcout`, `*.qout`, `*.out`, `*.log` | Everything Q-Chem prints |
| Formatted checkpoint | `*.fchk` | Formatted checkpoint (gui = 2) for visualisation |
| Plots | `*.plots` | Cube files requested in $plots |
| Scratch list | `pathtable` | Scratch-directory list of a parallel run |

A file is read as the input only if it holds a `$rem` or `$molecule` section, and as the output only if it holds Q-Chem's banner; of several, the newest is read. The `.fchk` and `.plots` files are marked as large: the download button on the row asks before copying one to your computer.

## How HiveBoard recognises a Q-Chem folder

- **Tell-tale names**: `*.qcin`, `*.qin`, `*.qcout` and `*.qout` mean Q-Chem on their own.
- **Signature**: an input whose top has a `$rem` or `$molecule` section; or an output that begins with "Welcome to Q-Chem", "Q-Chem, Inc., Pleasanton" or "You are running Q-Chem version".
- **Shared names**: `*.in`, `*.inp`, `*.out` and `*.log` belong to many codes and count only with the signature.

HiveBoard goes by the folder's files, not by your batch script or the program it starts (`qchem`). More in [How codes are recognised](/docs/codes/how-codes-are-recognised).

## What it was checked against

Real outputs of Q-Chem 5.3, 5.4.1 and 6.1.1.

HiveBoard is an independent program: it reads the files Q-Chem writes and is not made by, or connected with, Q-Chem's developers.

## Known limits

- None of the known limits of the [spec format](/docs/codes/engine-spec-reference) is particular to Q-Chem.
- In a folder that holds several calculations, the newest input and the newest output are picked separately and may belong to different runs.

## Related

- [The twenty supported codes](https://hiveboard.dev/docs/codes/supported-codes.md)
- [How codes are recognised](https://hiveboard.dev/docs/codes/how-codes-are-recognised.md)
- [Gaussian jobs](https://hiveboard.dev/docs/codes/gaussian.md)
- [Psi4 jobs](https://hiveboard.dev/docs/codes/psi4.md)
