# Quantum ESPRESSO jobs

> What HiveBoard shows for a Quantum ESPRESSO job on Slurm: pw.x, neb.x and ph.x progress and time left, energy, force and SCF charts, and the 3-D structure.

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

## In short

- HiveBoard recognises a Quantum ESPRESSO folder by a .pwi, .pwo or .save, or by &CONTROL, &SYSTEM, &INPUTPH or &PATH namelists in the input.
- pw.x is followed in full — relaxations, MD, SCF, NSCF and bands — and neb.x and ph.x far enough to show NEB iterations and phonon q-points.
- A relaxation is called converged only on "bfgs converged" (or the damped-dynamics and FIRE equivalents), never on "JOB DONE." alone.

HiveBoard follows a Quantum ESPRESSO job by reading the input of the main program (namelists and cards) and its standard output: pw.x in full, and neb.x and ph.x far enough to follow a run. 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 **QE** and its kind of run, such as Relax or Cell relax.

## What HiveBoard shows

### Progress and time left

HiveBoard counts what the kind of run has a limit for:

| Kind | Counts | Against |
|---|---|---|
| Relax, Cell relax | SCF cycles BFGS has used, else force evaluations | `nstep` (50 if not set) |
| MD | Force evaluations (time steps) | `nstep` |
| SCF | Iterations of the SCF | `electron_maxstep` (100 if not set) |
| NSCF, Bands | k-points computed | the k-points of the run |
| NEB | NEB iterations | `nstep_path` |
| Phonons | q-points finished | the q-points of the grid |

The time left is the time per step so far times the steps left ("~…s per ionic step × up to … left (often finishes sooner)"), never longer than the time before the wall-time limit. When the output ends with "JOB DONE.", the bar is full.

"JOB DONE." also follows a run that did not converge or stopped at `max_seconds`, so convergence is read separately. A relaxation is converged only on "bfgs converged" (or "convergence achieved" from damped dynamics or FIRE); "End of BFGS Geometry Optimization" and "Final energy" are printed when BFGS gave up too. Typical status sentences: "Relaxing the structure: … of up to … ionic steps complete.", "Relaxation converged after … ionic steps.", "Stopped at the nstep limit (… steps) before the geometry converged.", "Phonons: … of … q-points done; representation … of … at the next."

### Figures and charts

The [Overview](/docs/job/overview-tab) shows the figures that apply: **Total energy** (the latest converged one, in Ry), **Ionic steps**, **MD steps**, **NEB iteration** and **Activation energy**, **q-points** and **Representation**, **SCF iteration**, **SCF accuracy**, **Total force**, **Pressure**, **Temperature**, **Fermi energy** (or **Highest occupied level** and **Lowest unoccupied level**), **Atoms**, **k-points**, **Post-processing** (see below) and **Version**. With a hybrid functional, the energy of each ionic step is its `!!` line, not the `!` lines of the inner loops.

The charts:

- a relaxation or MD — **Total energy per ionic step** (relative to the latest);
- a relaxation — **Total force**, with a line at `forc_conv_thr`;
- a cell relaxation or MD — **Pressure**;
- MD — **Temperature** and **Conserved energy**;
- every run — **SCF accuracy (recent iterations)**, on a log scale against `conv_thr`.

A chart appears once it has two points.

When a post-processing program (dos.x, pp.x, projwfc.x, bands.x, q2r.x, matdyn.x) has run in the folder after pw.x, the **Post-processing** figure names the newest one and whether it finished. A folder holding only post-processing output says so instead of showing an empty pw.x run.

### Errors and warnings

An error is quoted: "Quantum ESPRESSO stopped in …: …", the routine and its message. Warnings say when an SCF cycle did not converge, when the run stopped itself at `max_seconds`, when a relaxation used all its `nstep` steps, when BFGS gave up or reset its history twice, and when the SCF correction to the forces is large. "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 Calculation, Functional (as pw.x reports it), Plane-wave cutoff, Density cutoff, k-mesh, Smearing, Electronic tol., Ionic tol., Ion dynamics, Cell dynamics, Images, Spin, Prefix and Parallel.

HiveBoard does not restart Quantum ESPRESSO runs: **Continue** is offered for VASP only. Restarting pw.x means `restart_mode = 'restart'`, or a new input from the last positions, which you do yourself.

## Kinds of run it tells apart

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

| Kind | What it means |
|---|---|
| NEB | Nudged elastic band — reaction path (neb.x) |
| Phonons | Density-functional perturbation theory (ph.x) |
| Cell relax | Relaxation of the ions and the cell (`vc-relax`) |
| Relax | Relaxation of the ions in a fixed cell (`relax`) |
| MD | Born-Oppenheimer or Car-Parrinello molecular dynamics |
| Bands | Band structure along a k-path, from an earlier charge density |
| NSCF | Non-self-consistent run on a denser k-mesh |
| SCF | Self-consistent single point |

## The 3-D structure

The [Structure tab](/docs/job/structure-tab) shows the first of these that yields atoms:

1. The `ATOMIC_POSITIONS` a relaxation or MD prints after every step, with the cell from `CELL_PARAMETERS` or the header — a trajectory from the end of the output, up to the last 40 steps.
2. For a single point, the positions printed once in the output's header (in units of alat), with the crystal axes.
3. The input's `ATOMIC_POSITIONS`, with the cell from its `CELL_PARAMETERS` card.

The geometries from the output carry the cell, so the unit cell and periodic images can be drawn; the input's geometry has one only when the input has a `CELL_PARAMETERS` card. 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 | `*.pwi`, `*.in`, `*.inp` | Namelists (&CONTROL, &SYSTEM, ...) and cards (ATOMIC_POSITIONS, K_POINTS, ...) |
| Output | `*.pwo`, `*.out`, `*.log` | Standard output of pw.x (or ph.x, neb.x, cp.x) |
| Restart | `*.save` | Restart data for this prefix (charge density, wavefunctions) |
| Wavefunctions | `*.wfc*` | Wavefunctions |
| Pseudopotentials | `*.UPF` | Pseudopotentials |
| Phonon scratch | `_ph0` | Phonon scratch |
| Crash file | `CRASH` | The message of the last crash (never removed by QE: check its date) |
| BFGS history | `*.bfgs` | BFGS history — what a restarted relaxation continues from |

A file is read as the input only if it has a `&control`, `&inputph` or `&path` namelist, and as the output only if it holds the banner of pw.x, ph.x, neb.x or cp.x; of several, the newest is read. A post-processing input or output is left out on purpose: in a folder that ran pw.x and then dos.x, the job to show is the pw.x one. The `.save`, wavefunction and `_ph0` items are marked as large: the download button on the row asks before copying one to your computer.

## How HiveBoard recognises a Quantum ESPRESSO folder

- **Tell-tale names**: `*.pwi`, `*.pwo` and `*.save` mean Quantum ESPRESSO on their own.
- **Signature**: an input whose top has a `&control`, `&system`, `&inputph` or `&path` namelist (in any case); or an output that begins with "Quantum ESPRESSO suite" or "Program PWSCF v." (or PHONON, NEB, CP).
- **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 (`pw.x`, `ph.x`, `neb.x`, `cp.x` …). More in [How codes are recognised](/docs/codes/how-codes-are-recognised).

## What it was checked against

Real outputs of pw.x 5.0.1 to 8.0dev, neb.x 6.4.1 and ph.x 6.0 to 7.6. "bfgs failed" and cp.x were written from the source only. What those files taught is built in: a `vc-relax` runs one more SCF after "bfgs converged", so that line is searched for in the whole output rather than its end; a hybrid functional prints several `!` energies per ionic step and one `!!`.

HiveBoard is an independent program: it reads the files Quantum ESPRESSO writes and is not made by, or connected with, its developers.

## Known limits

- Every one of the spec's 25 reads runs for every job, the neb.x and ph.x searches included on every pw.x output.
- In a log holding several runs appended one after another, an earlier run's "bfgs converged" still counts.
- A structure given by `ibrav` and `celldm` (or a space group) has no cell HiveBoard can build, so such a job shows no structure while it is queued.
- 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)
- [VASP jobs](https://hiveboard.dev/docs/codes/vasp.md)
- [CP2K jobs](https://hiveboard.dev/docs/codes/cp2k.md)
