[slurm-users] Packing or spreading single-CPU jobs

5 views
Skip to first unread message

Gerhard Strangar via slurm-users

unread,
Jun 1, 2026, 2:28:41 PM (2 days ago) Jun 1
to Slurm User Community List
Hello,

I'd like to somehow achieve this:
Group A of nodes runs jobs that are supposed to be packed, i.e. if each
node has 16 cpus, pack 16 jobs on the first node before using node 2.

But for group B, assign every job their own node until all of them have
one job, then put a second one on each node until all of them have 2 ...

Ir number of jobs doesn't work, load or available memory would do as
well, but it seems there's no way of telling slurm to sort the possible
nodes by some criteria.

Gerhard

--
slurm-users mailing list -- slurm...@lists.schedmd.com
To unsubscribe send an email to slurm-us...@lists.schedmd.com

Bjørn-Helge Mevik via slurm-users

unread,
Jun 2, 2026, 2:07:40 AM (yesterday) Jun 2
to slurm...@schedmd.com
The only thing I know of in this direction is the CR_LLN
SelectTypeParameters, which instructs the scheduler to select the least
loaded node (based upon the number of idle CPUs) for the whole cluster,
or the similar LLN that can be set on individual partitions.

I've always wanted the opposite, but haven't found it. :)

--
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
signature.asc
Reply all
Reply to author
Forward
0 new messages