[slurm-users] Get GPU usage from sacct?
Janne Blomqvist
janne.blomqvist at aalto.fi
Tue Nov 19 10:04:11 UTC 2019
On 15/11/2019 17.06, Miguel Oliveira wrote:
> Thank! Nice code and just what I was needing! A few wrinkles:
>
> a) on reading the Gres from scontrol for each job on my version this is on a TRES record not as an individual Gres. Possibly version/configuration issue.
> b) converting pid2id from /proc/<pid>/cgroup is problematic on array jobs.
Thanks for trying it out! Indeed, we only recently upgraded to 18.08 and
it seems the upgrade broke it. Fixed now (or broke it if you're still on
17.11... :-) ).
I also fixed the array jobs issue while at it.
--
Janne Blomqvist
More information about the slurm-users
mailing list