[slurm-users] slurm-users Digest, Vol 65, Issue 38

Thomas Arildsen thomas at arildsen.org
Wed May 3 09:49:22 UTC 2023

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,


Den 27.03.2023 kl. 11.07 skrev slurm-users-request at lists.schedmd.com:
> Date: Sun, 26 Mar 2023 10:13:09 -0400
> From: Mike Mikailov<mmikailov at gmail.com>
> To: Slurm User Community List<slurm-users at lists.schedmd.com>
> Cc:tari at its.aau.dk
> Subject: Re: [slurm-users] Getting usage reporting from sacct/sreport
> Message-ID:<06FE0D12-9CE0-46B0-9A07-D8F8A0435430 at 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

More information about the slurm-users mailing list