<div dir="ltr"><span style="background-color:rgb(255,255,255)"><br class="gmail-Apple-interchange-newline"><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium;white-space:pre-wrap;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi all,
We wanted to try make 2 different qos (priority and normal).
For priority QOS -
1) Each user is only allowed 1 JOB.
2) Has higher priority than normal, with the ability to preempt.
For priority QOS -
1) No restriction on the number of jobs.
Overall Jobs run with `priority/multifactor`.
I am not able to restrict number of jobs that a user can run with a particular qos even after setting the MaxJobsPU to 1 for priority.
srun --qos=prirority --pty bash
assigns me how many ever jobs I want.
I am sorry if this is redundant, but I am having a lot of trouble in making this work and any help is appreciated.
below are some of the information about my conf and slurmdbd which might be useful.
Thanks in advance!
---------------
My slurm.conf looks like -
NodeName=islpc[30-39] CPUs=2 State=UNKNOWN Gres=gpu:1080Ti:2
PartitionName=standard Nodes=islpc[30-39] Default=YES MaxTime=2-0 State=UP
GresTypes=gpu
PriorityType=priority/multifactor
PriorityWeightAge=1000
PriorityWeightFairshare=10000
PriorityWeightJobSize=1000
PriorityWeightPartition=1000
PriorityWeightQOS=100000
---------------
sacctmgr show qos format=Name,Priority,MaxJobsPU
Name Priority MaxJobsPU
---------- ---------- ---------
normal 0
priority 10 1
---------------
sacctmgr show assoc format=Cluster,Account,User,QOS
Cluster Account User QOS
---------- ---------- ---------- --------------------
islpc-clu+ root priority,normal
islpc-clu+ root root priority,normal
islpc-clu+ islpc priority,normal
islpc-clu+ islpc sdalmia priority,normal</span></span><br></div>