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