[slurm-users] [EXT] Submit sbatch to multiple partitions

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Mon Apr 17 10:24:15 UTC 2023

"Ozeryan, Vladimir" <Vladimir.Ozeryan at jhuapl.edu> writes:

> You should be able to specify both partitions in your sbatch submission script, unless there is some other configuration preventing this.

But Slurm will still only run the job in *one* of the partitions - it
will never "pool" two partitions and let the job run on all nodes.  All
nodes of a job must belong to the same partition.  (Another thing I
found out recently is that if you specify multiple partitions for an
array job, then all array subjobs will run in the same partition.)

As Ole suggests: creating a "super partition" containing all nodes will

Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230417/64a19462/attachment.sig>

More information about the slurm-users mailing list