Loughborough University
Leicestershire, UK
LE11 3TU
+44 (0)1509 222222
Loughborough University

IT Services : High Performance Computing

scancel


Overview

The partner to sbatch is scancel.

Generally you will use scancel jobid or scancel jobid1,jobid2...jobidn or scancel jobid.stepid.

scancel can be used, via the --signal= signal_name flag be used to send a specific signal to a job. If you have checkpointing set up for this job you can thereby force it to checkpoint if it has not already been doing so. This can be useful if you have not set a job to periodically checkpoint but see an announcement that a node or the whole system is to be shut down for maintenance as you can force a checkpoint anyway. This can be useful in conjunction with the --nodelist=list_of_nodes flag in this instance.