Deleting Jobs

scancel

You may use the scancel command to delete active jobs.

Syntax
scancel [options] -j <job(.stepid)>

The command scancel can be applied to a category of jobs, using the following options:

-u, --user $USER    jobs of current user
-A, --account       jobs under this charge account
-n, --jobname       jobs with this job name
-p, --partition     jobs in this partition
-t, --state         jobs in this state
Examples

Delete specific job with ID 1536:

scancel 1536

Delete all running jobs:

scancel --state=R

Delete all of your jobs:

scancel --user $USER