Re: [slurm-users] slurm- not allow a user submmit jobs

2020-01-08 Thread Juergen Salk
Hello Angelines, for me (Slurm 19.05.2) the following command seems to work: sacctmgr update user 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 a

Re: [slurm-users] slurm- not allow a user submmit jobs

2020-01-08 Thread Douglas Jacobsen
The way we use is to create a qos called “batchdisable” that is disallowed on all partitions. Then set the user association qos list to only batchdisable. This deauthorizes the user from submitting to all partitions. On Wed, Jan 8, 2020 at 05:52 Angelines wrote: > Hello, > > I need to forbid a

[slurm-users] slurm- not allow a user submmit jobs

2020-01-08 Thread Angelines
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 Alb