[slurm-users] Problem with assigning user to partition

Mahmood Naderan mahmood.nt at gmail.com
Fri Apr 20 01:23:30 MDT 2018


OK I will do that. But let me first try simple situations, e.g. one account.

May I ask what is the problem with the following config?

[root at rocks7 ~]# sacctmgr list association
format=account,user,partition,association
   Account       User  Partition     Assocs
---------- ---------- ---------- ----------
      root
      root       root
     local
     local      hamid
     local    mahmood
[root at rocks7 ~]# sacctmgr modify user where name=mahmood account=local
set partition=MONTHLY1
 Unknown option: partition=MONTHLY1
 Use keyword 'where' to modify condition
[root at rocks7 ~]# scontrol show partition MONTHLY1
PartitionName=MONTHLY1
   AllowGroups=ALL AllowAccounts=mahmood AllowQos=ALL
   AllocNodes=rocks7 Default=NO QoS=N/A
   DefaultTime=NONE DisableRootJobs=NO ExclusiveUser=NO GraceTime=0 Hidden=NO
   MaxNodes=UNLIMITED MaxTime=UNLIMITED MinNodes=1 LLN=NO
MaxCPUsPerNode=UNLIMITED
   Nodes=compute-0-0
   PriorityJobFactor=1 PriorityTier=1 RootOnly=NO ReqResv=NO OverSubscribe=NO
   OverTimeLimit=NONE PreemptMode=OFF
   State=UP TotalCPUs=32 TotalNodes=1 SelectTypeParameters=NONE
   DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED

Regards,
Mahmood




On Fri, Apr 20, 2018 at 11:46 AM, Loris Bennett
<loris.bennett at fu-berlin.de> wrote:
>
> So currently you just have 'local' and thus you need to set up all your
> Unix groups as Slurm accounts.  This can be a bit of a drag if, say, you
> need to add users from new research groups regularly, so it may be
> worthwhile thinking about how to automate the process.
>
> Cheers,
>
> Loris
>
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universit├Ąt Berlin         Email loris.bennett at fu-berlin.de
>



More information about the slurm-users mailing list