[slurm-users] sacctmgr - bug listing accounts?
Ole Holm Nielsen
Ole.H.Nielsen at fysik.dtu.dk
Mon Apr 30 02:22:23 MDT 2018
Hi Loris,
On 04/30/2018 10:12 AM, Loris Bennett wrote:
> 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?
I also struggled with these terms a while back, and my notes on setting
up accounts are in the Wiki page
https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting#create-accounts-and-users
The "parent" concept can be quite useful, depending on your needs. I
hope this helps a bit.
/Ole
More information about the slurm-users
mailing list