<div dir="ltr">Great.<div><br></div><div>Yes, I forgot to mention that running or pending jobs can prevent deletion of this information. This makes scripting/automating all the sacctmgr functions somewhat difficult.</div><div><br></div><div>regards,</div><div>Sam</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 3, 2019 at 10:18 AM Jianwen Wei <<a href="mailto:wei.jianwen@gmail.com">wei.jianwen@gmail.com</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 style="overflow-wrap: break-word;"><span class="gmail-m_2854406147967242971Apple-tab-span" style="white-space:pre-wrap"> </span>Thank you, Samuel. I've successfully delete the association with the following command after the users' jobs completes.<div><br></div><div><span class="gmail-m_2854406147967242971Apple-tab-span" style="white-space:pre-wrap"> </span># sacctmgr delete user where name=clschf partition=k80 account=acct-clschf<br><div><br></div><div>Best,</div><div><br></div><div>Jianwen<br><div><br><blockquote type="cite"><div>On Dec 29, 2018, at 11:50, Fulcomer, Samuel <<a href="mailto:samuel_fulcomer@brown.edu" target="_blank">samuel_fulcomer@brown.edu</a>> wrote:</div><br class="gmail-m_2854406147967242971Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr">...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"><br></div><div>This won't entirely delete the user entity, only the record/association matching the name/partition/account spec.</div><div><br></div><div>The foundation of SLURM nomenclature has some unfortunate choices.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 28, 2018 at 10:02 PM Jianwen Wei <<a href="mailto:wei.jianwen@gmail.com" target="_blank">wei.jianwen@gmail.com</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><div>Hi, </div><div><br></div><div><span class="gmail-m_2854406147967242971gmail-m_7454564418686216860Apple-tab-span" style="white-space:pre-wrap"> </span>I want to purge resource limit set by an association before, say</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="Courier"><b>[root@slurm1]~# sacctmgr show asso partition=k80 account=acct-clschf</b></font></div><div><font face="Courier"><b> Cluster Account User Partition Share GrpJobs GrpTRES GrpSubmit GrpWall GrpTRESMins MaxJobs MaxTRES MaxTRESPerNode MaxSubmit MaxWall MaxTRESMins QOS Def QOS GrpTRESRunMin</b></font></div><div><font face="Courier"><b>---------- ---------- ---------- ---------- --------- ------- ------------- --------- ----------- ------------- ------- ------------- -------------- --------- ----------- ------------- -------------------- --------- -------------</b></font></div><div><font face="Courier"><b> sjtupi acct-clsc+ clschf k80 100 normal,qoslong,qosp+ normal</b></font></div></blockquote><div><br></div><div><span class="gmail-m_2854406147967242971gmail-m_7454564418686216860Apple-tab-span" style="white-space:pre-wrap"> </span>However, according to <a href="https://slurm.schedmd.com/sacctmgr.html" target="_blank">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><br></div><div>Best,</div><div><br></div><div>Jianwen</div></div></blockquote></div></div>
</div></blockquote></div><br></div></div></div></blockquote></div>