<div dir="ltr"><font face="arial, helvetica, sans-serif">HI, </font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Have you enforced other limits successfully? What is the value of <span style="font-size:12px">AccountingStorageEnforce?</span></font><div><font face="arial, helvetica, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size:12px">Regards,</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size:12px">Lyn</span></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 26, 2018 at 1:45 PM, Siddharth Dalmia <span dir="ltr"><<a href="mailto:dalmia.sid@gmail.com" target="_blank">dalmia.sid@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><br class="m_9192574326844519019gmail-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/<wbr>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,<wbr>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>
</blockquote></div><br></div>