[slurm-users] Raise the priority of a certain kind of jobs

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu Nov 12 10:16:15 UTC 2020


On 11/12/20 10:58 AM, SJTU wrote:
> Hello,
> 
> We want to raise the priority of a certain kind of slurm jobs. We 
> considered doing it in Prolog, but Prolog seems to run only at job 
> starting time so may not be useful for queued jobs. Is there any possible 
> way to do this?

You can add a negative "nice value" to the job, for example:

scontrol update jobid=10208 nice=-10000

See the scontrol manual page http://slurm.schedmd.com/scontrol.html

/Ole



More information about the slurm-users mailing list