[slurm-users] How to set default partition in slurm configuration

Diego Zuccato diego.zuccato at unibo.it
Wed Jan 25 14:18:16 UTC 2023


Hi Xaver.

Just add "Default=Yes" to the definition of the partition you want to 
have as default. See
https://slurm.schedmd.com/slurm.conf.html#OPT_Default

If you just want Slurm select any partition that maches user's requests, 
you can use
JobSubmitPlugins=all_partitions

Diego

Il 25/01/2023 15:03, Xaver Stiensmeier ha scritto:
> Dear slurm-user list,
> 
> I am aware that this question sounds very simple and it should be
> resolved by just taking one look at the documentation, but for some
> reason I am unable to find where I can set the default partition in the
> slurm configuration.
> 
> For me it feels like simply the last added configuration becomes
> automatically the default configuration, but I might be wrong in this
> assessment of the situation. However, I would prefer just setting a key
> instead of fiddling around with the positioning of partition definitions.
> 
> I only found reference to the "default partition" in `JobSubmitPlugins`
> and this might be the solution. However, I think this is something so
> basic that it probably shouldn't need a plugin so I am unsure.
> 
> Can anyone point me towards how setting the default partition is done?
> 
> Best regards,
> Xaver Stiensmeier
> 
> 

-- 
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786



More information about the slurm-users mailing list