<div dir="ltr">Dear All,<br><br>     I want to implement resource restriction for different slurm users under <br>the same slurm account by setting  "GrpTRESMins" Flag. For testing purposes I set the "GrpTRESMins=cpu=0"  and submitted the Job.<br><br>  I expect the job submission should fail but it is not happening. The jobs are still going to Q and running.<br><br>Kindly help me if I am missing anything obvious. Command outputs given below for reference.<br> <br><br>>><br>[testfac3@login04 export_bin]$ sacctmgr  modify user name=testuser100 Account=testfac3_imf set GrpTRESMins=cpu=0<br> Modified user associations...<br>  C = param-shakti A = testfac3_imf         U = testuser100<br>Would you like to commit changes? (You have 30 seconds to decide)<br>(N/y): y<br><br>[testuser100@login04 ~]$ sacctmgr show assoc where Account=testfac3_imf user=testuser100 format=Account%15,User%15,GrpTRESMins,QOS%30<br>        Account            User   GrpTRESMins                            QOS<br>--------------- --------------- ------------- ------------------------------<br>   testfac3_imf     testuser100         cpu=0                   testfac3_imf<br><br>[testuser100@login04 testuser100]$ sacctmgr show qos sacctmgr show qos testfac3_imf format=Name%20,MaxWall,Flags%20,GrpTRESMins%20,MaxSubmitJobsPerUser,MaxSubmitJobsPeraccount,GrpTRESRunMin,Priority<br>                Name     MaxWall                Flags          GrpTRESMins MaxSubmitPU MaxSubmitPA GrpTRESRunMin   Priority<br>-------------------- ----------- -------------------- -------------------- ----------- ----------- ------------- ----------<br>        testfac3_imf  3-00:00:00  DenyOnLimit,NoDecay        cpu=210000000         100         500                    10000<br>[testuser100@login04 testuser100]$<br><br>[testuser100@login04 testuser100]$ scontrol show job 949622|grep JobState<br>   JobState=COMPLETED Reason=None Dependency=(null)<br>[testuser100@login04 testuser100]$<br><br><br>[testuser100@login04 testuser100]$ cat testjob.sh<br>#!/bin/bash<br>#SBATCH -J testjob                # name of the job<br>#SBATCH -p standard               # name of the partition: available options "standard,standard-low,gpu,gpu-low,hm"<br>#SBATCH -n 2                      # no of processes<br>#SBATCH -q testfac3_imf<br>#SBATCH -A testfac3_imf<br>#SBATCH -t 01:00:00               # walltime in HH:MM:SS, Max value 72:00:00<br>#list of modules you want to use, for example<br>module load compiler/intel-mpi/mpi-2020-v4 compiler/intel/2020.4.304<br><br>#name of the executable<br>exe="uname -n"<br><br>#run the application<br>mpirun -n $SLURM_NTASKS $exe<br><br>[testuser100@login04 testuser100]$ sbatch testjob.sh<br>Submitted batch job 949622<br><br>[testuser100@login04 testuser100]$ squeue<br>             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)<br>            949622  standard testjob- testuser  R       0:04      2 cn[304-305]<br>>><br><div><br></div><div>Thanks in advance</div><div><br></div><div>Best Regards</div><div>Hemanta</div></div>