Re: [slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Loris Bennett
Bill Wichser writes: > I usually add "withassoc" for a show user > > sacctmgr show user loris withassoc Thanks! That was what I was looking for! Cheers, Loris > Bill > > On 11/23/21 9:07 AM, Loris Bennett wrote: >> sacctmgr show user loris accounts > -- Dr. Loris Bennett (Herr/Mr) ZEDAT, Fr

Re: [slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Bill Wichser
I usually add "withassoc" for a show user sacctmgr show user loris withassoc Bill On 11/23/21 9:07 AM, Loris Bennett wrote: sacctmgr show user loris accounts

Re: [slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Loris Bennett
Hi, Thanks everyone. What I was missing was that that the two user/account associations have to exist before I can change the default account. However, what I find a bit odd is that I have multiple associations, e.g. $ sacctmgr show assoc where user=loris ClusterAccount User

Re: [slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Sean McGrath
Hi Loris, Not sure if this helps you, sorry if not. I can't answer the specifics of your query about how sacctmgr works. Here are the relevant bits from our account setup workflow to add a users account to an account, the first line, then set their default account to it. sbank project useradd -c

Re: [slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Ole Holm Nielsen
Hi Loris, First you add the user to one or more other Slurm accounts, something like this: $ sacctmgr add user xxx account=yyy Then you can redefine the user's default account: $ sacctmgr modify user where name=xxx set defaultaccount=yyy Here is an example from our cluster where the user is

Re: [slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Sarlo, Jeffrey S
want. Jeff -Original Message- From: slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] On Behalf Of Loris Bennett Sent: Tuesday, November 23, 2021 6:50 AM To: Slurm Users Mailing List Subject: [slurm-users] Changing DefaultAccount for user Hi, Occasionally I need to change a

[slurm-users] Changing DefaultAccount for user

2021-11-23 Thread Loris Bennett
Hi, Occasionally I need to change a default account and I struggle every time, possibly because my expectations are incorrect. However the messages and the manpage seem to me unhelpful: $ sacctmgr show user alice accounts User Def Acct Admin -- -- -