HiveBoard Docs Search the docs… Ctrl K Get HiveBoard
Browse the help centre
  1. Help centre
  2. Safety and privacy

What HiveBoard may change on a cluster

The complete list of what HiveBoard can change on a cluster — cancel, continue, delete files, install a key — and the rules each follows before it runs.

4 min read HiveBoard 0.1.7 Updated

In short

  • HiveBoard can change four things on a cluster: cancel a job, continue a VASP run, delete files in a job's folder, and add your public key to ~/.ssh/authorized_keys.
  • The first three need job control switched on for that server, act only on jobs the server says are yours, and each asks you first.
  • Anything that would overwrite a file is backed up first, under a plain name such as POSCAR.bak.<time>.

HiveBoard reads unless you let it do more. This is the complete list of what it can change on a cluster: four actions, each run only when you ask for it in the app. Guardian, if you allow it, can run one of them — Continue — by itself; nothing else ever acts on its own.

The complete list

ActionWhat runs on the clusterNeeds
Cancel a jobscancel <id>job control; your own job
Continue a runback up POSCAR, copy CONTCAR to POSCAR, sbatch the job’s own scriptjob control; your own VASP job
Delete filesrm -rf on the paths you selected in the job’s folderjob control; your own job
Install a keyappend one public key to your ~/.ssh/authorized_keys, after a backupyou press Install key

There is nothing else. Removing a server from HiveBoard touches nothing on it, downloads write nothing there, and the assistant never runs or submits anything.

The rules every job action follows

  1. Job control must be on for that server. It is off for every server until you turn it on: the Job control switch on the server’s General tab in Connections, which asks before it turns on, or allow_job_control: true in the settings file. Importing servers never turns it on, and it is only ever turned on one server at a time. See turning on job control.
  2. Your own jobs only. Before running anything, the server compares the job’s owner, as squeue or sacct gives it, with the account you signed in as, as whoami gives it, and refuses anyone else’s. Highlight users is a display setting and never widens this. If the login user cannot be verified, every action is refused.
  3. Each one confirmed. Every action asks you first, in a confirmation that names what will happen. When you cancel several jobs at once, the confirmation lists exactly which, and the server checks each id again against the live queue, skipping — with the reason — any job that has finished or is not yours. See cancelling jobs.

Continue, in detail

Continue is for a VASP relaxation, MD or NEB run that stopped before converging. HiveBoard does not restart runs of the other codes.

  1. The old POSCAR is copied to POSCAR.bak.<time>.
  2. CONTCAR is copied to POSCAR.
  3. The job’s own script is submitted again with sbatch, from the same folder.

It fails closed: if CONTCAR is empty, or the backup or the copy fails, it stops and nothing is submitted. It is refused while any queued or running job still uses that folder, so two jobs never share one — except Continue from latest on a running job, after a confirmation that says two runs would then share the folder. If HiveBoard cannot tell which script submitted the job, it lists the scripts in the folder and asks; it never submits a guess. A relaxation that has already converged is not offered for continuing. See Continuing a VASP run.

Delete, in detail

Delete, in the Files tab, is offered only on your own jobs and only with job control on. Every path must lie inside the job’s work directory, the job’s root folder itself is refused outright, and each deletion is confirmed. See Deleting files from a job’s folder.

Installing a key

This one is separate from job control. When you press Install key, HiveBoard signs in once with your password (and code, if the server asks), then:

  • creates ~/.ssh on the server if it is not there;
  • copies ~/.ssh/authorized_keys, if it has anything in it, to authorized_keys.bak.<time>;
  • appends the key’s public half — only if it is not there already.

It then signs in with the key to prove it works. See Installing a key on a server.

Plain backup names

Backups get neutral names — POSCAR.bak.<time>, authorized_keys.bak.<time> — with no tool’s or AI’s name written on the cluster.

Guardian

Guardian’s one automatic action is Continue, so it follows every rule above: job control on, your own jobs, the backup first. It adds its own limits — at most 3 continuations per job by default, a cooldown, and at most 8 automatic actions an hour across all servers — and it logs every decision. It starts in a mode that only watches, and it never cancels a job. See Guardian’s safety rails.

On your own computer

HiveBoard’s own files — settings, keys, trusted host keys, the connection log — live in its data folder. Your ~/.ssh/known_hosts is read but never written. See the data folder.

Check yourself

2 quick questions on this page. Nothing is sent anywhere.

  1. You list a colleague under Highlight users, and job control is on. Can HiveBoard cancel their jobs?

    • No — only jobs owned by the account you signed in as, checked with whoami on the server
    • Yes — highlighted users count as yours
    • Yes, after a second confirmation
    Show the answer

    No — only jobs owned by the account you signed in as, checked with whoami on the server Highlight users is a display setting only; ownership is checked against the remote whoami before anything runs.

  2. What does Continue do with the old POSCAR?

    • Copies it to POSCAR.bak.<time> before CONTCAR is copied over it
    • Deletes it
    • Leaves it, and writes the new geometry to another file
    Show the answer

    Copies it to POSCAR.bak.<time> before CONTCAR is copied over it Continue backs POSCAR up first, and submits nothing if the backup or the copy fails or CONTCAR is empty.

Try it in the app

On your own computer, with HiveBoard open. Tick them off as you go.

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.

↑ ↓ to moveEnter to openEsc to close