<div dir="ltr"><div dir="ltr">Hi Frank.<div><br></div><div>You can do something very close to what you describe with a QoS for each group and the NoDecay option (<a href="https://slurm.schedmd.com/sacctmgr.html#SECTION_SPECIFICATIONS-FOR-QOS">https://slurm.schedmd.com/sacctmgr.html#SECTION_SPECIFICATIONS-FOR-QOS</a>).  We use this in conjunction with PriorityUsageResetPeriod=quarterly to provide a usage cap for certain groups. </div><div><br></div><div>Cheers,</div><div>Ross Dickson</div><div>Dalhousie University / ACENET / Digital Research Alliance of Canada</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 17, 2023 at 3:51 AM Heckes, Frank <<a href="mailto:heckes@mps.mpg.de">heckes@mps.mpg.de</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 class="msg-5743327754041234818"><div lang="en-DE"><div class="m_-5743327754041234818WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi all,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I hope I don’t overlooked a posting or documentation, but I didn’t find anything related.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Does anyone know whether it’s possible to configure an ‘intrinsic’ SLURM accounting scheme or mechanism like<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><ol style="margin-top:0cm" start="1" type="1"><li class="m_-5743327754041234818MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">All groups, users have an account with a total amount of TRES (cputime, memory,…)  they can use per billing period<u></u><u></u></span></li><li class="m_-5743327754041234818MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">Each job debit from the account associated with a group or user record<u></u><u></u></span></li><li class="m_-5743327754041234818MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">Once the ‘savings’ are spent on group or user level the associations will be disabled<u></u><u></u></span></li></ol><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">At the moment the only set-up I see, is that an external framework scans the SLURM account (job) information and debits the resource records stored in ‘extra’ DB and disables (triggers) the associated SLURM accounts via slurm commands once the resources have been used.(?) <br>Any comment or link to an existing set-up would be very helpful. Many thanks in advance.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Cheers,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-Frank<u></u><u></u></span></p></div></div></div></blockquote></div></div>