<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Ole,<div><br></div><div>Earlier I found your Slurm_tools posting and found it very useful. This remains my problem, ‘current value’ not incrementing even after making needed changes to slurm.conf.</div><div><br></div><div><br></div><div><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">./showuserlimits -u ubuntu</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">scontrol -o show assoc_mgr users=ubuntu account=testing flags=Assoc</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">Association (Parent account):</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">ClusterName = </span><span class="apple-tab-span"> </span><span class="s1">dev-uid-testing</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Account = </span><span class="apple-tab-span"> </span><span class="s1">testing</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">UserName =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Partition =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Priority = </span><span class="apple-tab-span"></span><span class="s1">0</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">ID = </span><span class="apple-tab-span"></span><span class="s1">6</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">SharesRaw/Norm/Level/Factor = </span><span class="apple-tab-span"> </span><span class="s1">1/18446744073709551616.00/1/0.00</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">UsageRaw/Norm/Efctv = </span><span class="apple-tab-span"></span><span class="s1">0.00/1.00/0.00</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">ParentAccount = </span><span class="apple-tab-span"> </span><span class="s1">root, current value = 1</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Lft = </span><span class="apple-tab-span"> </span><span class="s1">2</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">DefAssoc = </span><span class="apple-tab-span"></span><span class="s1">No</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpJobs =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">GrpJobsAccrue =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">GrpSubmitJobs =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpWall =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpTRES =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">cpu:</span><span class="apple-tab-span"> </span><span class="s1">Limit = 1500, current value = 0</span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpTRESMins =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">GrpTRESRunMins =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxJobs =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MaxJobsAccrue =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MaxSubmitJobs =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxWallPJ =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxTRESPJ =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxTRESPN =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MaxTRESMinsPJ =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MinPrioThresh =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">Association (User):</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">ClusterName = </span><span class="apple-tab-span"> </span><span class="s1">dev-uid-testing</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Account = </span><span class="apple-tab-span"> </span><span class="s1">testing</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">UserName = </span><span class="apple-tab-span"></span><span class="s1">ubuntu, UID=1000</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Partition =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Priority = </span><span class="apple-tab-span"></span><span class="s1">0</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">ID = </span><span class="apple-tab-span"></span><span class="s1">9</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">SharesRaw/Norm/Level/Factor = </span><span class="apple-tab-span"> </span><span class="s1">1/18446744073709551616.00/1/0.00</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">UsageRaw/Norm/Efctv = </span><span class="apple-tab-span"></span><span class="s1">0.00/1.00/0.00</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">ParentAccount =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">Lft = </span><span class="apple-tab-span"> </span><span class="s1">3</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">DefAssoc = </span><span class="apple-tab-span"></span><span class="s1">Yes</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpJobs =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">GrpJobsAccrue =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">GrpSubmitJobs =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpWall =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpTRES =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">cpu:</span><span class="apple-tab-span"> </span><span class="s1">Limit = 1500, <font color="#ff5945">current value = 0</font></span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">GrpTRESMins =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">cpu:</span><span class="apple-tab-span"> </span><span class="s1">Limit = 1000, <font color="#ff5d45">current value = 0</font></span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">GrpTRESRunMins =</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxJobs =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MaxJobsAccrue =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MaxSubmitJobs =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxWallPJ =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxTRESPJ =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span><span class="s1">MaxTRESPN =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MaxTRESMinsPJ =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="apple-tab-span"> </span><span class="s1">MinPrioThresh =</span><span class="apple-converted-space"> </span><span class="apple-tab-span"> </span><o:p></o:p></p><p class="p2" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><o:p> </o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">Slurm share information:</span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">Account</span><span class="apple-converted-space"> </span><span class="s1">User</span><span class="apple-converted-space"> </span><span class="s1">RawShares</span><span class="apple-converted-space"> </span><span class="s1">NormShares</span><span class="apple-converted-space"> </span><span class="s1">RawUsage</span><span class="apple-converted-space"> </span><span class="s1">EffectvUsage</span><span class="apple-converted-space"> </span><span class="s1">FairShare</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">-------------------- ---------- ---------- ----------- ----------- ------------- ----------</span><span class="apple-converted-space"> </span><o:p></o:p></p><p class="p1" style="margin: 0in; font-size: 13.5pt; font-family: Menlo;"><span class="s1">testing</span><span class="apple-converted-space"> </span><span class="s1">ubuntu</span><span class="apple-converted-space"> </span><span class="s1">1 </span><span class="apple-converted-space"> </span><span class="s1">0</span><span class="apple-converted-space"> </span><span class="s1">0.000000 </span><span class="apple-converted-space"> </span><span class="s1">0.000000</span></p></div><div><br></div><div><br></div><div>Clearly I’m still missing something or I don’t understand how it’s supposed to work.</div><div><br></div><div>Hoot</div><div><br></div><div><br><div><br><blockquote type="cite"><div>On Apr 20, 2023, at 2:10 AM, Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk> wrote:</div><br class="Apple-interchange-newline"><div><div>Hi Hoot,<br><br>On 4/20/23 00:15, Hoot Thompson wrote:<br><blockquote type="cite">Is there a ‘how to’ or recipe document for setting up and enforcing resource limits? I can establish accounts, users, and set limits but 'current value' is not incrementing after running jobs.<br></blockquote><br>I have written about resource limits in this Wiki page:<br>https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_configuration/#partition-limits<br><br>IHTH,<br>Ole<br><br></div></div></blockquote></div><br></div></body></html>