Hi Mike
Thanks for the suggestion. I think something else may be missing here on
my end. With `acct` I can actually get the usage of individual jobs with
TRES information, but there must be something else causing GPU not to be
included in the information I get.
When I include the "--allocations" option, the TRES information
disappears from my output.
In any case, I think it would kind of be re-implementing the job of
`sreport` this way, so I will look further into making `sreport` work
for me.
Best regards,
Thomas
Den 27.03.2023 kl. 11.07 skrev slurm-users-requ...@lists.schedmd.com:
Date: Sun, 26 Mar 2023 10:13:09 -0400
From: Mike Mikailov<mmikai...@gmail.com>
To: Slurm User Community List<slurm-users@lists.schedmd.com>
Cc:t...@its.aau.dk
Subject: Re: [slurm-users] Getting usage reporting from sacct/sreport
Message-ID:<06fe0d12-9ce0-46b0-9a07-d8f8a0435...@gmail.com>
Content-Type: text/plain; charset=utf-8
Hi Thomas et al,
I have just written a Linux shell script which does exactly what you are asking
for.
Please use ??allocations? option in sacct command to generate aggregated
resources usage per user.
You may also use awk Linux command to summarize all CPU usages.
More advanced awk command may also summarize all GPU usages.
I have also placed the script on the GitHub but it is private now until we
clear it for public.
Traceable resources normalization along with traceable resources weights are
needed for more fair usage reports. in this case ?billing? value represents
combined (max or sum of individual traceable resources) billing unit. Note by
default this values equals to the number of CPUs used.
Thanks,
-Mike
USA