[slurm-users] How to delete an association

Jianwen Wei wei.jianwen at gmail.com
Thu Jan 3 08:17:39 MST 2019


	Thank you, Samuel. I've successfully delete the association with the following command after the users' jobs completes.

		# sacctmgr delete user where name=clschf partition=k80 account=acct-clschf

Best,

Jianwen

> On Dec 29, 2018, at 11:50, Fulcomer, Samuel <samuel_fulcomer at brown.edu> wrote:
> 
> ...right. An association isn't an "entity". You want to delete a "user" where name=clschf partition=k80 account=acct-clschf .
> 
> This won't entirely delete the user entity, only the record/association matching the name/partition/account spec.
> 
> The foundation of SLURM nomenclature has some unfortunate choices.
> 
> On Fri, Dec 28, 2018 at 10:02 PM Jianwen Wei <wei.jianwen at gmail.com <mailto:wei.jianwen at gmail.com>> wrote:
> Hi, 
> 
> 	I want to purge resource limit set by an association before, say
> 
> [root at slurm1]~# sacctmgr show asso partition=k80 account=acct-clschf
>    Cluster    Account       User  Partition     Share GrpJobs       GrpTRES GrpSubmit     GrpWall   GrpTRESMins MaxJobs       MaxTRES MaxTRESPerNode MaxSubmit     MaxWall   MaxTRESMins                  QOS   Def QOS GrpTRESRunMin
> ---------- ---------- ---------- ---------- --------- ------- ------------- --------- ----------- ------------- ------- ------------- -------------- --------- ----------- ------------- -------------------- --------- -------------
>     sjtupi acct-clsc+     clschf        k80       100                                                                                                                                    normal,qoslong,qosp+    normal
> 
> 	However, according to  https://slurm.schedmd.com/sacctmgr.html <https://slurm.schedmd.com/sacctmgr.html> "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?
> 
> Best,
> 
> Jianwen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190103/e60b024d/attachment.html>


More information about the slurm-users mailing list