SPPARKS jobs
What HiveBoard shows for a SPPARKS job on a Slurm cluster: simulated time against the run commands, accepted events, energy and the application set up.
In short
- HiveBoard recognises a SPPARKS folder by log.spparks, in.spparks or a .spk file, or by an app_style line in the input script.
- Progress is the time of the last statistics line against the run commands added up; Naccept, Nreject, Nsweeps and CPU are read from every lattice application.
- SPPARKS works on lattice sites, so there is no 3-D structure.
SPPARKS is written in the style of LAMMPS: one input script (in.*) and one log (log.spparks) that echoes the script and then prints a statistics line every stats interval — Time, Naccept, Nreject, Nsweeps, CPU, and whatever the diag_style commands add. HiveBoard reads the script and the log. 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 SPPARKS and its kind of run, taken from app_style.
What HiveBoard shows
Progress and time left
Progress is the Time of the last statistics line, against the run commands of the script added up: the clock runs on from one run to the next, so the job ends at their sum. When a run takes a variable or the script loops (jump, next), there is no plain number to count against, and the bar is the share of the wall-time limit used. The time left is the time per unit so far times what is left (”~…s per time unit × up to … left (often finishes sooner)”), never longer than the time before the wall-time limit.
SPPARKS has no closing line. A finished script leaves the timing breakdown of its last run as the very end of the log; HiveBoard calls the run finished when the log ends that way, and fills the bar. Typical status sentences: “Time … of ….”, “Running — time ….”, “Finished at time … — the last run took … s.”
Figures and charts
The Overview shows, from the last statistics line: Time, Events accepted (Naccept), Events rejected and Sweeps (for a sweeping, rejection run), CPU time, and Energy when the header says the sixth column is the energy. From the rest of the log come Sites, Loop time of the most recent finished run, and Version.
The charts, one point per statistics line: Events accepted, and Energy when that column is there. A chart appears once it has two points.
Errors and warnings
An error is quoted: “SPPARKS stopped: …”, and so is a warning SPPARKS printed near the end of the log: “SPPARKS warned: …”. “No output update for N min — job may be stalled.” appears when the log has not changed for more than 15 minutes while the job runs.
Setup
The Setup tab’s Calculation setup reads the script: Application, Algorithm (rejection KMC with sweep, or rejection-free KMC with solve_style), Lattice, Region, Temperature, Run length, Statistics, Sectors, Processor grid and Random seed.
HiveBoard does not restart SPPARKS runs: Continue is offered for VASP only. SPPARKS has no restart file; a run is continued by dumping the sites and reading them back with read_sites.
Kinds of run it tells apart
HiveBoard reads the kind from app_style and takes the first that fits:
| Kind | What it means |
|---|---|
| Additive manufacturing | Melt-pool and grain-growth models for welding and additive manufacturing (potts/weld, potts/am/…, am/…) |
| Potts | Potts model — grain growth, pinning, recrystallisation (app_style potts and its variants) |
| Ising | Ising model — two spin values (app_style ising) |
| Diffusion | Vacancy and surface diffusion, thin-film growth (app_style diffusion, sos) |
| Sintering | Solid-state sintering of a powder compact (app_style sinter) |
| Erbium hydride | Hydrogen and helium diffusion and reaction in erbium (app_style erbium) |
| Membrane | Lipid membrane with protein inclusions (app_style membrane) |
| Chemistry | Well-mixed stochastic reaction kinetics, no lattice (app_style chemistry) |
| Monte Carlo | Another SPPARKS application |
The 3-D structure
None. SPPARKS works on lattice sites, not atoms, so there is nothing for the Structure tab to draw, and it says No structure to show.
Files it recognises
These are the files the SPPARKS spec names:
| Role | Names | What it is |
|---|---|---|
| Input script | in.*, *.in, *.spk, *.spparks | The input script: app_style, lattice, sweep or solve_style, temperature, stats, run |
| Log | log.spparks, log.*, *.log, *.out | The log — the echoed input, then one statistics line every stats interval |
| Snapshots | dump.*, *.dump | Site snapshots (dump text / sites / stitch) |
| Stitch database | *.st | Stitch database of site values |
| Grain statistics | cluster.* | Grain (cluster) statistics from diag_style cluster |
| Initial sites | *.init | Initial site values read by read_sites |
A file is read as the script only if it holds app_style, and as the log only if it holds SPPARKS’s banner; of several, the newest is read. The snapshots and the stitch database are marked as large: the download button on the row asks before copying one to your computer.
How HiveBoard recognises a SPPARKS folder
- Tell-tale names:
log.spparks,in.spparks,*.spparksand*.spkmean SPPARKS on their own. - Signature: an input script whose top has an
app_styleline; or a log that begins with “SPPARKS (”. - Shared names:
in.*,*.in,log.*,*.log,*.outanddump.*count only with the signature.
HiveBoard goes by the folder’s files, not by your batch script or the program it starts (spk_mpi, spk_serial …). More in How codes are recognised.
What it was checked against
Six real SPPARKS logs, from 2009 to 2023.
HiveBoard is an independent program: it reads the files SPPARKS writes and is not made by, or connected with, SPPARKS’s developers.
Known limits
- The statistics columns are read by position: the first five of every lattice application, and Energy only as the sixth. Other diagnostic columns give no figures and no chart.
- No 3-D structure: the run is on lattice sites, not atoms.
- In a folder that holds several runs, the newest script and the newest log 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.