Job Cancelling
Cancel a job and all its steps:
scancel 12345
For bulk cancellation, first inspect squeue -u "$USER". Choose the appropriate command:
# Cancel all your jobs in gh200.
scancel --user="$USER" --partition=gh200
# Cancel only your pending jobs in gh200.
scancel --user="$USER" --partition=gh200 --state=PENDING
To request termination of specific steps, use their actual step IDs:
scancel --signal=TERM 12345.1 12345.3
Signals target steps without cancelling the whole allocation; the application determines its response. Verify cancellation with squeue or sacct. See scancel.