Hi I'm wanting to create a new partition that is restricted to certain accounts. As I read the documentation and interacting with sacctmgr though, it seems that this is only settable at the user level with no way to set it at the account level. Is my understanding correct? Thanks!
Todd, Doesn't AllowAccounts partition configuration parameter address your need? per man slurm.conf: >AllowAccounts >Comma-separated list of accounts which may execute jobs in the partition. The >default value is "ALL". NOTE: If AllowAccounts is used then DenyAccounts will >not be enforced. Also refer to DenyAccounts. cheers, Marcin
Hi Marcin, not particularly well. I have hundreds of accounts and it is not feasible for me to edit the slurm config with the frequency that accounts come and go.
Todd, It's possible to update the parameter by: >scontrol update partitionname=XXX allowaccounts=YYY but to make it permanent slurm.conf edit is still required. cheers, Marcin
Ok, thanks for the confirmation. I'll see if I can find a way to make managing it at the user level not horrible, or come up with a way to make allowAccounts not require adding all of our accounts to the list. You can close this out.
One of the tools you may find helpful in automating things is: >scontrol write config If it's easier for you an opposite DenyAccounts can be too. cheers, Marcin