[slurm-users] Why AllowAccounts not work in slurm-23.11.6

2024-06-24 Thread daijiangkuicgo--- via slurm-users
I have set AllowAccounts=sunlabc5hpc,root, but it doesn’t seem to work. User c010637 is not part of the sunlabc5hpc account but is still able to use the sunlabc5hpc partition. I have tried setting EnforcePartLimits to ALL, ANY, and NO, but none of these options resolved the issue.

[slurm-users] Re: How to exclude master from computing? Set to DRAINED?

2024-06-24 Thread Xaver Stiensmeier via slurm-users
Thanks Steffen, that makes a lot of sense. I will just not start slurmd in the master ansible role when the master is not to be used for computing. Best regards, Xaver On 24.06.24 14:23, Steffen Grunewald via slurm-users wrote: On Mon, 2024-06-24 at 13:54:43 +0200, Slurm users wrote: Dear

[slurm-users] Re: How to exclude master from computing? Set to DRAINED?

2024-06-24 Thread Stephan Roth via slurm-users
Dear Xaver, Could you clarify the function of what you call "master"? If it's the Slurm controller, i.e. running slurmctld: Why do you need slurmd running on it as well? Best, Stephan On 24.06.24 13:54, Xaver Stiensmeier via slurm-users wrote: Dear Slurm users, in our project we exclude

[slurm-users] Re: How to exclude master from computing? Set to DRAINED?

2024-06-24 Thread Loris Bennett via slurm-users
Hi Xaver, Xaver Stiensmeier via slurm-users writes: > Dear Slurm users, > > in our project we exclude the master from computing before starting > Slurmctld. We used to exclude the master from computing by simply not > mentioning it in > the configuration i.e. just not having: > >

[slurm-users] Re: How to exclude master from computing? Set to DRAINED?

2024-06-24 Thread Steffen Grunewald via slurm-users
On Mon, 2024-06-24 at 13:54:43 +0200, Slurm users wrote: > Dear Slurm users, > > in our project we exclude the master from computing before starting > Slurmctld. We used to exclude the master from computing by simply not > mentioning it in the configuration i.e. just not having: > >    

[slurm-users] Re: How to exclude master from computing? Set to DRAINED?

2024-06-24 Thread Hermann Schwärzler via slurm-users
Dear Xaver, we have a similar setup and yes, we have set the node to "state=DRAIN". Slurm keeps it this way until you manually change it to e.g. "state=RESUME". Regards, Hermann On 6/24/24 13:54, Xaver Stiensmeier via slurm-users wrote: Dear Slurm users, in our project we exclude the master

[slurm-users] How to exclude master from computing? Set to DRAINED?

2024-06-24 Thread Xaver Stiensmeier via slurm-users
Dear Slurm users, in our project we exclude the master from computing before starting Slurmctld. We used to exclude the master from computing by simply not mentioning it in the configuration i.e. just not having:     PartitionName=SomePartition Nodes=master or something similar. Apparently,