If you run
sshare
or
sacctmgr show association where parent=root
(and so forth recursively where parent= each of the children) do you find that these other accounts that can submit to the partition are not ultimately sub-accounts of "root"?
Quoting man 5 slurm.conf, concerning AllowAccounts, "This list is also hierarchical, meaning subaccounts are included automatically."
________________________________________ Od: shaobo liu dspam.liu@gmail.com Poslano: torek, 29. oktober 2024 20:49 Za: Laura Hild Kp: slurm-users Zadeva: Re: [slurm-users] Re: Why AllowAccounts not work in slurm-23.11.6
My slurm is 23.02.6,used EnforcePartLimits=ALL,Accounts outside of AllowAccounts can still submit。
Laura Hild <lsh@jlab.orgmailto:lsh@jlab.org> 于2024年10月19日周六 21:59写道: What do you have for `sacctmgr list account`? If "root" is your top-level (Slurm) (bank) account, AllowAccounts=root may just end up meaning any account. To have AllowAccounts limit what users can submit, you'd need to name a lower-level Slurm (bank) account that only some users have an Association with.