[slurm-users] Update users partitions

mercan ahmet.mercan at uhem.itu.edu.tr
Fri Aug 21 20:51:28 UTC 2020


Hi;

I think You can not update user's partition:

https://slurm-dev.schedmd.narkive.com/2UnWaNQJ/setting-a-users-s-partition-with-sacctmgr

It is a part of the assosiation and it can be set at creating user as an 
option:

https://slurm.schedmd.com/accounting.html#database-configuration

     'Accounting records are maintained based upon what we refer to as 
an Association, which consists of four elements: cluster, account, user 
names and an optional partition name. Use the sacctmgr command to create 
and manage these records.'

     'Associations can also be created that are tied to specific 
partitions. When using the "add user" command of sacctmgr you can 
include the Partition=<PartitionName> option to create an association 
that is unique to other associations with the same Account and User.'

But you can delete and recreate user.

Ahmet M.


21.08.2020 22:38 tarihinde Matthew BETTINGER yazdı:
> Maybe it's Friday but I cannot for the life of me figure out how to update a user's partitions.
>
> Just trying to add a user access to another partition.
>
> sacctmgr modify user where name=foo set partition=par1,par2,par3
> Use keyword 'where' to modify condition
>
> Tried pretty much all the permutations of this but not the correct one.  These sacctmgr commands are pretty tricky if you do not use them all of the time.
>
> Thanks.
>
> M
>



More information about the slurm-users mailing list