How can I delete a SLURM job?

Deleting a SLURM Job

First, ensure that you have loaded the slurm module:

module load slurm

Then, you can issue the following command to delete a job:

scancel <job_id>

If you are unsure of what your job ID is (it was displayed when you ran sbatch), you can use squeue to get the job ID's of all of your jobs in the queue:

squeue -u <your_username>

You can learn about more options for the scancel command by reading through the manual page with the command:

man scancel

 

For more information on SLURM, please also see the official documentation.

Article Topic

 

Still Need Help? The best way to report your issue or make a request is by submitting a ticket.