How to kill a Slurm job

The normal method to kill a Slurm job is:

    $ scancel <jobid>

You can find your jobid with the following command:

    $ squeue -u $USER

If the the job id is 1234567 then to kill the job:

    $ scancel 1234567

For more cluster usage tips, see our comprehensive guide on Getting Started with the HPC Clusters at Princeton.