[slurm-users] assigning qos and account to new users

Josef Dvoracek jose at fzu.cz
Tue Apr 18 09:25:51 UTC 2023


hi all slurm ops,

I'd like to improve my new user workflow.

when new (eg. authenticated against external LDAP) user tries to submit 
job at my facilities, he sees this:

[test at login1 ~]$ sbatch sbatch_sleep.sh
sbatch: error: Batch job submission failed: Invalid account or 
account/partition combination specified
[test at login1 ~]$

as I have this in slurm.conf:

AccountingStorageEnforce=qos,limits

That means I have to add user into accounting db:

sacctmgr create user name=test account=newbie

Is it possible to set default account (associated with existing qos e.g. 
"newbie") without the need to manually add user into accounting db? ( my 
goal is to let new (LDAP-authed) user work within limited qos, eg 2 
jupyterlabs etc. without the need of creating account)

cheers

josef






More information about the slurm-users mailing list