[slurm-users] sacctmgr - bug listing accounts?

Loris Bennett loris.bennett at fu-berlin.de
Mon Apr 30 02:12:08 MDT 2018


Hi Simon,

Simon Flood <S.M.Flood at uis.cam.ac.uk> writes:

> Hi Loris,
>
> On 27/04/18 13:46, Loris Bennett wrote:
>> Hi,
>>
>> If I dump my account structure with sacctmgr, I get
>>
>>    Parent - 'geowiss'
>>    Account - 'geochemie':Fairshare=2
>>    Account - 'geographie':Description='geographie':Organization='geowiss':Fairshare=1
>>    Account - 'geologie':Description='geologie':Organization='geowiss':Fairshare=4
>>    Account - 'geophysik':Description='geophysik':Organization='geowiss':Fairshare=3
>>    Account - 'meteorologie':Description='meteorologie':Organization='geowiss':Fairshare=20
>>
>> If I list the same org with sacctmgr, I get
>>
>>    $ sacctmgr list acc org=geowiss
>>       Account                Descr                  Org
>>    ---------- -------------------- --------------------
>>    geographie           geographie              geowiss
>>      geologie             geologie              geowiss
>>     geophysik            geophysik              geowiss
>>    meteorolo+         meteorologie              geowiss
>>
>> As you can see, in the second case, 'geochemie' is missing.
>>
>> I'm using version 17.02.10.  Is this a bug?
>
> Whilst 'geochemie' is listed by the first sacctmgr command you'll
> notice it doesn't have a description or, more importantly, an
> organization. Fix that and you'll fix the output for the second
> sacctmgr command.

Thanks, I should have spotted that, although I don't understand the
difference between 'parent' and 'organisation' and in fact asked this
question:

 https://groups.google.com/forum/#!topic/slurm-users/f1vftgIRcVk

on the subject recently.

The dump indicates to me that a hierarchy is being set up via the
'parent' attribute.  The output of 'sacctmgr' and what you point out
suggest that there is a separate hierarchy defined by 'organisation'.

In any case, I can't work out the the correct syntax to set the
organisation.  The following doesn't produce an error but doesn't have
any effect:

  $ sacctmgr modify account where name=geochemie set organization=geowiss
  Nothing modified

and I still get:

$ sacctmgr list acc org=geowiss
     Account                Descr                  Org 
  ---------- -------------------- -------------------- 
  geographie           geographie              geowiss 
    geologie             geologie              geowiss 
   geophysik            geophysik              geowiss 
  meteorolo+         meteorologie              geowiss 

How do I set the organisation of an account?  And why is it necessary if
'parent' is set?

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