Queued jobs and reused folders
Why a queued job shows only what its input says, and how HiveBoard labels what an earlier run left in a reused folder, so it is never taken for the job's.
In short
- A job waiting in the queue says "Waiting in the queue — nothing has run yet." and shows only what its input says.
- Its Structure tab shows the geometry it will start from — for VASP the POSCAR — marked "Starting geometry — this job has not started yet."
- In a running job, geometry files older than the job's start are labelled as an earlier run's until the job writes its own.
- The rule behind both is that HiveBoard never presents data as a job's without checking that the job produced it.
People resubmit jobs in the same folder: to continue a run, to try a new setting, or because the first attempt failed. The folder then still holds what the earlier run wrote — its output, its energies, its trajectory. HiveBoard never presents those as the new job’s. It checks that a job produced what it shows, and labels what the job did not produce.
A job waiting in the queue
A job that has not started has produced nothing, so everything in its folder except its input belongs to an earlier run. The job pane shows only what the input says:
| Where | What it shows |
|---|---|
| Status line | “Waiting in the queue — nothing has run yet.” |
| Overview | Why it waits, and the estimated start |
| Figures | Only those read from the input |
| Charts | None |
| Setup | The settings read from the input |
| Output | No output yet |
| Structure | The geometry it will start from |
For a VASP job, the figures are System and Calculation: the earlier run’s steps, energies and charts are left out. The Overview reads Waiting to start., then the scheduler’s reason, such as “Other jobs are ahead of it in the queue.”, then the estimated start if the scheduler gives one.
The Structure tab of a queued job
It shows the geometry the job will start from, and no trajectory: one structure, or one per image for a NEB. Above the picture:
Starting geometry — this job has not started yet.
The source line under the picture says job has NOT started. Which file is shown depends on the code:
- VASP —
POSCAR, and each image’sPOSCARfor a NEB. ACONTCARleft in the folder is where the previous run stopped, so it is used only when there is noPOSCARat all. - ORCA — the geometry in the input.
- Other codes — the geometry files their engine marks as input.
A running job in a reused folder
Once the job runs, HiveBoard compares when the geometry files last changed with the job’s start time, allowing two minutes for the login node’s clock and the scheduler’s to differ. A file older than the job is an earlier run’s. Until the job writes its own, the Structure tab still shows it, but says so above the picture:
From an earlier run in this folder — this job has not written a geometry of its own yet.
and the source line under the picture is marked STALE, saying the files come from a previous run in this directory. As soon as the job writes its own geometry, the label goes: open the Structure tab again to see it, since the tab is not read again by itself.
Old output does not make a new job look stalled either. The Overview’s warning that a job has written nothing for more than 15 minutes never counts further back than the job’s own start.
Why it works this way
Before HiveBoard checked, a queued job in a reused folder played the previous run’s trajectory as its own, and a restarted job showed frames from before the restart, with nothing on screen to say so. The same kind of error happens on the cluster: the accounting database can report a job as completed when it crashed in seconds and left empty files. So the rule is: never present data as a job’s without checking that the job produced it.
To continue a VASP run that stopped before converging, see Continuing a VASP run.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
A queued VASP job sits in a folder that still holds the last run's CONTCAR and XDATCAR. What does its Structure tab show?
- Its POSCAR, the geometry it will start from
- The old XDATCAR, played as a trajectory
- The old CONTCAR, as the latest geometry
- Nothing until the job starts
Show the answer
Its POSCAR, the geometry it will start from A job that has not started is shown the geometry it will start from — for VASP, POSCAR; CONTCAR is used only when there is no POSCAR.
-
How does HiveBoard tell that a geometry file belongs to an earlier run?
- The file was last changed before the job started
- The file's name ends in .old
- The scheduler says so
- It asks you
Show the answer
The file was last changed before the job started It compares when the geometry files last changed with the job's start time, allowing two minutes for clocks that differ.
Try it in the app
On your own computer, with HiveBoard open. Tick them off as you go.
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.