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

2023-01-25 Thread Diego Zuccato

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



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

2023-01-25 Thread Xaver Stiensmeier

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




Re: [slurm-users] How to set default partition?

2018-03-13 Thread Lachlan Musicman
On 14 March 2018 at 14:53, Christopher Samuel  wrote:

> On 14/03/18 14:50, Lachlan Musicman wrote:
>
> As per subject, recently I've been shuffling nodes around into new
>> partitions. In that time somehow the default partition switched from prod
>> to dev. Not the end of the world - desirable in fact. But I'd like to know
>> what happened to cause it?
>>
>
> Did you cut and paste and end up with multiple partitions with Default=YES
> perchance?
>
> Not that I'd have ever done anything like that.. no... never.. ;-)
>
>

I may have done. Why do you ask?



--
"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
creative agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "

*Greg Bloom* @greggish
https://twitter.com/greggish/status/873177525903609857


Re: [slurm-users] How to set default partition?

2018-03-13 Thread Christopher Samuel

On 14/03/18 14:50, Lachlan Musicman wrote:

As per subject, recently I've been shuffling nodes around into new 
partitions. In that time somehow the default partition switched from 
prod to dev. Not the end of the world - desirable in fact. But I'd like 
to know what happened to cause it?


Did you cut and paste and end up with multiple partitions with 
Default=YES perchance?


Not that I'd have ever done anything like that.. no... never.. ;-)



[slurm-users] How to set default partition?

2018-03-13 Thread Lachlan Musicman
As per subject, recently I've been shuffling nodes around into new
partitions. In that time somehow the default partition switched from prod
to dev. Not the end of the world - desirable in fact. But I'd like to know
what happened to cause it?

cheers
L.


--
"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
creative agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "

*Greg Bloom* @greggish
https://twitter.com/greggish/status/873177525903609857