<div dir="ltr"><div>Hi Jeremy,</div><div><br></div><div>I had a similar behavior a long time ago, and I decided to set SchedulerType=sched/builtin to empty X nodes of jobs and execute that high-priority job requesting more than one node. It is not ideal, but the cluster has low load, so a user that requests more than one node doesn't delay too much the execution of other's jobs.</div><div><br></div><div>Hope others can help you with a better idea than mine.</div><div><br></div><div>Best!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 12, 2022 at 1:01 PM Jérémy Lapierre <<a href="mailto:jeremy.lapierre@uni-saarland.de">jeremy.lapierre@uni-saarland.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi To all slurm users,<br>
<br>
We have the following issue: jobs with highest priority are pending <br>
forever with "Resources" reason. More specifically, the jobs pending <br>
forever ask for 2 full nodes but all other jobs from other users <br>
(running or pending) need only a 1/4 of a node, then pending jobs asking <br>
for 1/4 of a node always get allocated and the jobs asking for 2 nodes <br>
are pending forever even though the priority is higher than the ones <br>
asking for less resources. I hope I'm clear enough, if not please look <br>
at page 17 on <a href="https://slurm.schedmd.com/SUG14/sched_tutorial.pdf" rel="noreferrer" target="_blank">https://slurm.schedmd.com/SUG14/sched_tutorial.pdf</a>, in our <br>
situation an infinite number of jobs will fit before what is job4 in the <br>
scheme p. 17 and thus job4 will never be launched. Here are our <br>
Scheduler options:<br>
<br>
FastSchedule            = 0<br>
SchedulerParameters     = <br>
bf_max_job_test=500,max_job_bf=100,bf_interval=60,bf_continue<br>
SchedulerTimeSlice      = 60 sec<br>
SchedulerType           = sched/backfill<br>
SlurmSchedLogFile       = (null)<br>
SlurmSchedLogLevel      = 0<br>
<br>
Thanks for your help,<br>
Best regards,<br>
Jeremy<br>
<br>
</blockquote></div>