Deleting a SLURM Job

Audience: Faculty, Postdocs, Researchers, Staff and Students

This KB Article References: High Performance Computing
This Information is Intended for: Faculty, Postdocs, Researchers, Staff, Students
Last Updated: October 28, 2019

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.


Additional Information

There are no additional resources available for this article.

Getting Help

The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Ticket