# Zacros jobs

> What HiveBoard shows for a Zacros job on a Slurm cluster: KMC time against max_time, events, lattice energy and species numbers, and the run settings.

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

## In short

- HiveBoard recognises a Zacros folder by its fixed file names — simulation_input.dat, mechanism_input.dat, general_output.txt, specnum_output.txt and the rest.
- While a run is going, progress and figures come from the last line of specnum_output.txt; general_output.txt is read for how the run ended.
- Kinetic Monte Carlo works on lattice sites, not atoms, so there is no 3-D structure.

Every Zacros file has a fixed name: four or five `*_input.dat` files go in, `*_output.txt` files come out. HiveBoard reads `simulation_input.dat` for the conditions and the run's limits, `specnum_output.txt` for how far the run has got, and `general_output.txt` for what Zacros set up and where the run stopped. 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 **Zacros** and its kind of run.

## What HiveBoard shows

### Progress and time left

While a run is going, `general_output.txt` stops at "Commencing simulation"; the KMC time and the number of events are only in `specnum_output.txt`, one line per reporting interval. Progress is the KMC time of its last line, against `max_time` — or, when the input sets only `max_steps`, the events so far against that number. With both, `max_time` is used. The time left is the time per unit so far times what is left ("~…s per KMC time unit × up to … left (often finishes sooner)"), never longer than the time before the wall-time limit. When `general_output.txt` reports a normal termination, the bar is full.

Typical status sentences: "KMC time … of … — … events so far.", "Finished at KMC time … of … after … events.", "Zacros is set up and starting — nothing reported yet."

### Figures and charts

The [Overview](/docs/job/overview-tab) shows, from the last line of `specnum_output.txt`: **KMC time**, **Events**, **Temperature**, **Lattice energy**, **Species** (the species columns, surface species then gas species), **Species numbers** (in the same order; a negative gas number is consumed) and **Reports written**. From `general_output.txt` come **Event frequency** (at the end of the run), **Run time**, **Lattice sites** and **Version**.

The charts, one point per report: **KMC events**, **KMC time** and **Lattice energy**, and for a temperature ramp **Temperature**. A chart appears once it has two points.

### Errors and warnings

An error is quoted: "Zacros stopped with error … (…): …". That pattern was written after the form of Zacros's warnings and has not been checked against a real error file. Warning code 801002 becomes "Zacros warning 801002: no process can happen any more — the surface may be poisoned."

"No output update for N min — job may be stalled." watches `general_output.txt`. Because Zacros does not write to that file while it runs, the warning can appear on a run that is going well; the **KMC time** and **Events** figures show whether it is moving.

### Setup

The [Setup](/docs/job/setup-tab) tab's **Calculation setup** reads `simulation_input.dat`: Temperature (or the ramp), Pressure, Gas species, Gas molar fractions, Surface species, Stops at, Stops after, Wall-time limit, Species reported and Random seed; and from `general_output.txt` the Mechanism — elementary steps and energy clusters as Zacros counted them.

HiveBoard does not restart Zacros runs: **Continue** is offered for VASP only. Zacros continues from `restart.inf` when it is started again in the same folder.

## Kinds of run it tells apart

| Kind | What it means |
|---|---|
| Temperature ramp | Temperature-programmed run (temperature ramp T0 rate): TPD or TPR |
| KMC | Kinetic Monte Carlo at constant temperature |

## The 3-D structure

None. Zacros works on lattice sites, not atoms, so there is nothing for the [Structure tab](/docs/job/structure-tab) to draw, and it says **No structure to show**.

## Files it recognises

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

| File | What it is |
|---|---|
| `simulation_input.dat` | Conditions and run control: temperature, pressure, species, reporting, max_time / max_steps |
| `lattice_input.dat` | The lattice: sites, site types, neighbours |
| `energetics_input.dat` | Cluster expansion: the energy of each adsorbate pattern |
| `mechanism_input.dat` | Elementary steps with pre-exponentials and activation energies |
| `state_input.dat` | Initial coverage (optional) |
| `general_output.txt` | What Zacros read and set up, warnings, and — at the end — where the run stopped |
| `specnum_output.txt` | One line per reporting interval: events, KMC time, temperature, lattice energy, species numbers |
| `procstat_output.txt` | How often each elementary step has happened |
| `history_output.txt` | Lattice snapshots |
| `lattice_output.txt` | The lattice as Zacros built it |
| `restart.inf` | Restart information — a run started in this folder continues from it |

`history_output.txt` and `restart.inf` are marked as large: the download button on the row asks before copying one to your computer.

## How HiveBoard recognises a Zacros folder

- **Tell-tale names**: `simulation_input.dat`, `mechanism_input.dat`, `energetics_input.dat`, `general_output.txt` and `specnum_output.txt` mean Zacros on their own.
- **Signature**: a `simulation_input.dat` that sets `n_gas_species`, `n_surf_species`, `gas_specs_names`, `surf_specs_names` or `species_numbers`; or a `general_output.txt` that begins with "ZACROS" and a version.
- **Shared names**: `lattice_input.dat` and `state_input.dat` count only with the signature.

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

## What it was checked against

Real Zacros 3.01 and 5.0 job folders.

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

## Known limits

- No 3-D structure: the run is on lattice sites, not atoms.
- The error message pattern has not met a real Zacros error file.

## 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)
- [kmos jobs](https://hiveboard.dev/docs/codes/kmos.md)
- [SPPARKS jobs](https://hiveboard.dev/docs/codes/spparks.md)
