<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Thank you, Samuel. I've successfully delete the association with the following command after the users' jobs completes.<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span># sacctmgr delete user where name=clschf partition=k80 account=acct-clschf<br class=""><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Jianwen<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 29, 2018, at 11:50, Fulcomer, Samuel <<a href="mailto:samuel_fulcomer@brown.edu" class="">samuel_fulcomer@brown.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">...right. An association isn't an "entity". You want to delete a "user" where name=clschf partition=k80 account=acct-clschf .</div><div dir="ltr" class=""><br class=""></div><div class="">This won't entirely delete the user entity, only the record/association matching the name/partition/account spec.</div><div class=""><br class=""></div><div class="">The foundation of SLURM nomenclature has some unfortunate choices.</div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Dec 28, 2018 at 10:02 PM Jianwen Wei <<a href="mailto:wei.jianwen@gmail.com" class="">wei.jianwen@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class=""><div class="">Hi, </div><div class=""><br class=""></div><div class=""><span class="gmail-m_7454564418686216860Apple-tab-span" style="white-space:pre-wrap"> </span>I want to purge resource limit set by an association before, say</div><div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><div class=""><font face="Courier" class=""><b class="">[root@slurm1]~# sacctmgr show asso partition=k80 account=acct-clschf</b></font></div><div class=""><font face="Courier" class=""><b class=""> Cluster Account User Partition Share GrpJobs GrpTRES GrpSubmit GrpWall GrpTRESMins MaxJobs MaxTRES MaxTRESPerNode MaxSubmit MaxWall MaxTRESMins QOS Def QOS GrpTRESRunMin</b></font></div><div class=""><font face="Courier" class=""><b class="">---------- ---------- ---------- ---------- --------- ------- ------------- --------- ----------- ------------- ------- ------------- -------------- --------- ----------- ------------- -------------------- --------- -------------</b></font></div><div class=""><font face="Courier" class=""><b class=""> sjtupi acct-clsc+ clschf k80 100 normal,qoslong,qosp+ normal</b></font></div></blockquote><div class=""><br class=""></div><div class=""><span class="gmail-m_7454564418686216860Apple-tab-span" style="white-space:pre-wrap"> </span>However, according to <a href="https://slurm.schedmd.com/sacctmgr.html" target="_blank" class="">https://slurm.schedmd.com/sacctmgr.html</a> "Add, modify, and delete should be done to a user, account or cluster entity. This will in-turn update the underlying associations." . Individual associations can not be deleted. Am I right?</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Jianwen</div></div></blockquote></div></div>
</div></blockquote></div><br class=""></div></div></body></html>