My slurm is 23.02.6,I have used EnforcePartLimits=ALL,Users outside of AllowAccounts can still submit。
root@node196:/etc/slurm# scontrol show config |grep EnforcePartLimits EnforcePartLimits = ALL root@node196:/etc/slurm# scontrol show part PartitionName=T1 AllowGroups=ALL AllowAccounts=root AllowQos=ALL AllocNodes=ALL Default=YES QoS=N/A DefaultTime=NONE DisableRootJobs=NO ExclusiveUser=NO GraceTime=0 Hidden=NO MaxNodes=UNLIMITED MaxTime=UNLIMITED MinNodes=0 LLN=NO MaxCPUsPerNode=UNLIMITED MaxCPUsPerSocket=UNLIMITED Nodes=node196 PriorityJobFactor=1 PriorityTier=1 RootOnly=NO ReqResv=NO OverSubscribe=NO OverTimeLimit=NONE PreemptMode=OFF State=UP TotalCPUs=4 TotalNodes=1 SelectTypeParameters=NONE JobDefaults=(null) DefMemPerCPU=1024 MaxMemPerNode=UNLIMITED TRES=cpu=4,mem=4G,node=1,billing=4 Paul Raines via slurm-users <slurm-users@lists.schedmd.com> 于2024年10月17日周四 22:24写道: > > I am using Slurm 23.11.3 and it AllowAccounts works for me. We > have a partition defied with AllowAccounts and if one tries to > submit in an account not in the list one will get > > srun: error: Unable to allocate resources: Invalid account or > account/partition combination specified > > > Do you have EnforcePartLimits=ALL > > > On Wed, 16 Oct 2024 8:55pm, shaobo liu via slurm-users wrote: > > > External Email - Use Caution > > > > Tested slurm-23.* version, AllowAccounts parameter does not work. > > > > daijiangkuicgo--- via slurm-users <slurm-users@lists.schedmd.com> > > 于2024年6月29日周六 16:30写道: > > > >> AllowGroups is ok. > >> > >> -- > >> slurm-users mailing list -- slurm-users@lists.schedmd.com > >> To unsubscribe send an email to slurm-users-le...@lists.schedmd.com > >> > The information in this e-mail is intended only for the person to whom it > is addressed. If you believe this e-mail was sent to you in error and the > e-mail contains patient information, please contact the Mass General > Brigham Compliance HelpLine at > https://www.massgeneralbrigham.org/complianceline < > https://www.massgeneralbrigham.org/complianceline> . > Please note that this e-mail is not secure (encrypted). If you do not > wish to continue communication over unencrypted e-mail, please notify the > sender of this message immediately. Continuing to send or respond to > e-mail after receiving this message means you understand and accept this > risk and wish to continue to communicate over unencrypted e-mail. > > -- > slurm-users mailing list -- slurm-users@lists.schedmd.com > To unsubscribe send an email to slurm-users-le...@lists.schedmd.com >
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com