[slurm-users] unable to Hold and release the job using scontrol

Chris Samuel chris at csamuel.org
Sun May 23 06:36:18 UTC 2021

On Saturday, 22 May 2021 11:05:54 PM PDT Zainul Abiddin wrote:

> i am trying to hold the job from Scontol but not able to hold the job.

It looks like you're trying to hold a running job, which isn't possible.

I see from the Slurm FAQ that you should be able to use "scontrol requeuehold" 
for what you are trying to achieve.


# Slurm supports requeuing jobs in a hold state with the command:
# scontrol requeuehold job_id
# The job can be in state RUNNING, SUSPENDED, COMPLETED or FAILED before
# being requeued.

Best of luck,
  Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA

More information about the slurm-users mailing list