+3 votes
in Operating Systems by (60.0k points)
I submitted a job using sbatch but I want to cancel it as I need to make some changes in the code. How can I kill the job? I tried the kill command, and it did not work.

1 Answer

+3 votes
by (353k points)
selected by
Best answer

You can cancel a Slurm job using scancel command.

scancel <your_jobid>