Psi4 jobs
What HiveBoard shows for a Psi4 job on a Slurm cluster: optking steps and time left, force and SCF charts, the final energies and the geometry in 3-D.
In short
- HiveBoard recognises a Psi4 folder by timer.dat, or by a molecule block, a driver call such as optimize('…') or import psi4 in the input.
- Geometry optimisations are followed through optking's convergence table, step by step against geom_maxiter.
- The Structure tab plays the geometry Psi4 prints after every optimisation step.
HiveBoard follows a Psi4 job by reading its input — a Psithon file (molecule { … }, set …, then energy(), optimize() or frequency()) or a PsiAPI Python script — and the output Psi4 writes: SCF and correlated energies, optking’s convergence table, frequencies and thermochemistry. 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 Psi4 and its kind of run.
What HiveBoard shows
Progress and time left
An optimisation, TS search or Opt + Freq that has not converged counts optking steps against geom_maxiter (50 when the input does not set it). Anything else shows the share of the wall-time limit used. The time left is the time per step so far times the steps left (”~…s per optimisation step × up to … left (often finishes sooner)”), never longer than the time before the wall-time limit. When the output ends with “Psi4 exiting successfully”, the bar is full.
Typical status sentences: “Optimising — step … of up to … done.”, “Geometry converged after … optimisation steps.”, “Converging the first SCF: iteration ….”, “Psi4 finished normally.”
Figures and charts
The Overview shows the figures that apply: Energy (the latest SCF energy, in Eh), Correlated energy, MP2 energy, Optimisation steps, SCF iteration (while an SCF runs), Max force, RMS force and Max displacement, Lowest frequency (a trailing i marks an imaginary mode), Zero-point energy, Gibbs free energy, Basis functions, Run time and Version.
The charts:
- an optimisation — Energy relative to the latest step (eV), Maximum force (with a line at its threshold) and RMS force;
- while an SCF is iterating — SCF convergence (recent iterations), log₁₀|ΔE| against the energy threshold.
A chart appears once it has two points.
Errors and warnings
An error is quoted: “Psi4 stopped: …”, from Psi4’s fatal-error line or the Python exception it ended on. Warnings say when the lowest vibrational mode of an optimised or frequency geometry is imaginary, and when Psi4 ran out of memory. “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 tab’s Calculation setup shows Method, Basis, Reference, Charge / multiplicity, Integrals (scf_type), Frozen core, Max optimisation steps, Memory (as Psi4 reports it, or the input’s memory line) and Threads.
HiveBoard does not restart Psi4 runs: Continue is offered for VASP only. Restarting Psi4 means a new input that starts from the last geometry, which you write yourself.
Kinds of run it tells apart
HiveBoard reads the kind from what the input asks the driver to do and takes the first that fits:
| Kind | What it means |
|---|---|
| IRC | Intrinsic reaction coordinate (opt_type irc) |
| TS search | Transition-state optimisation (opt_type ts) |
| Opt + Freq | Geometry optimisation followed by vibrational frequencies |
| Optimisation | Geometry optimisation — optimize() |
| Frequencies | Harmonic vibrational analysis and thermochemistry — frequency() |
| SAPT | Symmetry-adapted perturbation theory — the interaction energy of two fragments, by component |
| Excited states | TDDFT, EOM-CC, ADC or CI excitation energies |
| Properties | One-electron and response properties — properties() |
| Gradient | Energy and nuclear gradient at a fixed geometry — gradient() |
| Energy | Single-point energy — energy() |
The 3-D structure
The Structure tab shows the first of these that yields atoms:
- The geometry Psi4 prints after every optimisation step (“Geometry (in Angstrom)”), from the last 400 kB of the output — an optimisation trajectory, up to the last 40 steps.
- For a single point, or an optimisation still on its first step, the geometry table of the SCF.
- The Cartesian geometry of the input’s
moleculeblock (or of a PsiAPIgeometry("""…""")); a Z-matrix 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.
Files it recognises
The What it is column of the Files tab names these files:
| Role | Names | What it is |
|---|---|---|
| Input | input.dat, *.in, *.inp, *.py | Psithon input: molecule { … }, set options, then energy() / optimize() / frequency() |
| Output | output.dat, *.out, *.log | Everything Psi4 prints |
| Timing | timer.dat | Timing summary Psi4 leaves in the job folder |
| Checkpoint | *.fchk | Formatted checkpoint for visualisation |
| Orbitals | *.molden | Orbitals in Molden format |
| Wavefunction | *.npy | Saved wavefunction (wfn.to_file) — what a restart reads |
A file is read as the input only if it mentions molecule or psi4, and as the output only if it holds Psi4’s banner or its closing line; of several, the newest is read. The .fchk and .npy files are marked as large: the download button on the row asks before copying one to your computer.
How HiveBoard recognises a Psi4 folder
- Tell-tale name:
timer.datmeans Psi4 on its own. - Signature: an input whose top has a
molecule {block, a driver call such asenergy('…'),optimize('…')orfrequency('…')at the start of a line, orimport psi4; or an output that begins with “Psi4: An Open-Source Ab Initio Electronic Structure Package”. - Shared names:
input.dat,output.dat,*.in,*.inp,*.py,*.outand*.logbelong to many codes and count only with the signature.
HiveBoard goes by the folder’s files, not by your batch script or the psi4 command it runs. More in How codes are recognised.
What it was checked against
Real outputs of Psi4 1.2.1 and 1.7. Optimisations are followed through optking’s convergence table, whose step rows look the same in the older (C++) and the newer (Python) optimiser.
HiveBoard is an independent program: it reads the files Psi4 writes and is not made by, or connected with, Psi4’s developers.
Known limits
- An input that sets its geometry’s unit with
units bohrstill has that geometry read in ångström, the one unit HiveBoard assumes for it, whenever the picture comes from the input (a queued job, or one that has printed no geometry yet). Geometries from the output are not affected. - In a folder that holds several calculations, the newest input and the newest output are picked separately and may belong to different runs.
Related
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.