Hi

Not an expert but I know scontrol can be used to change job parameters whilst 
queued.
You could try this, to see if it would work.

e.g.
Scontrol update jobid=<yourjobid> Dependency=afterany:<another jobid>
To add a dependency to queued jobs.

Or to just hold them,
Scontrol hold <jobid>
scontrol release <jobid>

Best regards

Andy


Andrew Turner
Senior Radiation Transport Analyst
CCFE
D3/1.35
Culham Science Centre
Abingdon
Oxfordshire
OX14 3DB

www.ccfe.ac.uk<http://www.ccfe.ac.uk/>




From: Kumar, Amit [mailto:[email protected]]
Sent: 28 August 2015 14:48
To: slurm-dev
Subject: [slurm-dev] As a user how can I re-order my job submissions

Dear SLURM,

If I am a regular user and imagine I have ton’s of jobs submitted, then I come 
up with another batch of jobs that I want to run before that batch I submitted 
few hours back that is still in the queue waiting for resources and priority. 
Is there a way to do this?  From an admin perspective I wouldn’t want this, 
because users could misuse this feature. But from a user perspective I could 
genuinely have some dependencies that I would like to have it addressed before 
beginning my batch of thousands of jobs.

Any help here is greatly appreciated.

Regards,
Amit

Reply via email to