Re: [slurm-users] Running 2 jobs on one node uses the same cores, 300x slowdown

2021-11-23 Thread Stephen Cousins
I'd take a look at: https://slurm.schedmd.com/cpu_management.html#Example2 I think this might be what you want: SelectType=select/cons_res SelectTypeParameters=CR_Core Best, Steve On Tue, Nov 23, 2021, 7:35 PM Anne Hammond wrote: > We are running slurm 20.11.2-1 from CentOS 7 rpms. > > Th

[slurm-users] Running 2 jobs on one node uses the same cores, 300x slowdown

2021-11-23 Thread Anne Hammond
We are running slurm 20.11.2-1 from CentOS 7 rpms. The queue is set up to allow OverSubscribe: NodeName=ne[04-09] CPUs=32 Sockets=2 CoresPerSocket=16 ThreadsPerCore=1 State=UNKNOWN PartitionName=neon-noSMT Nodes=ne[04-09] Default=NO MaxTime=3-00:00:00 DefaultTime=4:00:00 State=UP OverSubscribe=

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
They only way I found was to add the user to the new account and then modify their default account to the new account. sacctmgr add user example account=groupb sacctmgr modify user where user=example set defaultaccount=groupb Then you can remove them from the original default account if you want

[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 -- -- -