<div dir="ltr"><div>Thanks for the suggestions, Samuel.  It turns out the root of the problem was elsewhere:  Although I had updated slurm.conf with 'AccountingStorageEnforce = associations,limits,qos' and 'scontrol show config' said the same, I had neglected to restart slurmctld, so it *wasn't* actually in effect.  If you're listening, SchedMD, that is IMO a bug with 'scontrol show config'.  But also, silly me for not reading the docs and the log files better.</div><div><br></div><div>Cheers all!</div><div>Ross</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 16, 2021 at 6:01 PM Ross Dickson <<a href="mailto:ross.dickson@ace-net.ca" target="_blank">ross.dickson@ace-net.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It would like to impose a time limit stricter than the partition limit on a certain subset of users.  I should be able to do this with a QOS, but I can't get it to work.  ...</div></blockquote></div></blockquote></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I've created a QOS 'nonpaying' with MaxWall=1-0:0:0, and set MaxTime=7-0:0:0 on partition 'general'.  I set the association on  user1 so that their job will get QOS 'nonpaying', then submit a job with --time=7-0:0:0, and it runs:<div><br>$ scontrol show partition general | egrep 'QoS|MaxTime'<br>   AllocNodes=ALL Default=YES QoS=N/A<br>   MaxNodes=UNLIMITED MaxTime=7-00:00:00 MinNodes=0 LLN=NO MaxCPUsPerNode=UNLIMITED<br>$ sacctmgr show qos nonpaying format=name,flags,maxwall<br>      Name                Flags     MaxWall<br>---------- -------------------- -----------<br> nonpaying                       1-00:00:00<br>$ scontrol show job 33 | egrep 'QOS|JobState|TimeLimit'<br>   Priority=4294901728 Nice=0 Account=acad1 QOS=nonpaying<br>   JobState=RUNNING Reason=None Dependency=(null)<br>   RunTime=00:00:40 TimeLimit=7-00:00:00 TimeMin=N/A<br>$ scontrol show config | grep AccountingStorageEnforce<br>AccountingStorageEnforce = associations,limits,qos<br clear="all"><div><br></div></div></div></blockquote></div></blockquote></div></blockquote></div></div>