[slurm-users] Submit sbatch to multiple partitions

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Mon Apr 17 09:55:54 UTC 2023


On 4/17/23 11:36, Xaver Stiensmeier wrote:
> let's say I want to submit a large batch job that should run on 8 nodes.
> I have two partitions, each holding 4 nodes. Slurm will now tell me that
> "Requested node configuration is not available". However, my desired
> output would be that slurm makes use of both partitions and allocates
> all 8 nodes.

A compute node can be a member of multiple partitions, this is how you can 
handle your case.

Suppose you have 4 nodes in part1 and 4 nodes in part2.  Then you can 
create a new partition "partbig" which contains all 8 nodes.

You may want to configure restrictions on "partbig" if you don't want 
every user to submit to it, or configure a lower maximum time for jobs.

I hope this helps,
Ole



More information about the slurm-users mailing list