Hello Angelines,

for me (Slurm 19.05.2) the following command seems to work:

 sacctmgr update user <username> set maxsubmitjobs=0

Job submission is then rejected with the following message:

$ sbatch job.slurm
sbatch: error: AssocMaxSubmitJobLimit
sbatch: error: Batch job submission failed: Job violates accounting/QOS policy 
(job submit limit, user's size and/or time limits)

Best regards
Jürgen

-- 
Jürgen Salk
Scientific Software & Compute Services (SSCS)
Kommunikations- und Informationszentrum (kiz)
Universität Ulm
Telefon: +49 (0)731 50-22478
Telefax: +49 (0)731 50-22471

* Angelines <angelines.albe...@ciemat.es> [200108 14:26]:
> Hello,
> 
> I need to forbid a user to submmits jobs, I have used:
> 
> sacctmgr modify user where name=us cluster=cl account=ac set maxsubmitjobs=0
> 
> and with maxjobs=0 but it doesn't work
> 
> Could someone help me please?
> 
> Thanks in advance
> 
> -- 
> ________________________________________________
> 
> Angelines Alberto
> 

Reply via email to