Hello Manuel,
One way I know of is to use scontrol with the '-d' option:
scontrol -d show job=
Then the GPU is listed in a line like this:
Nodes=node01 CPU_IDs=14 Mem=10240 GRES=gpu(IDX:2)
If there are other ways to achieve the same, I'd be interested as well.
Best,
Stephan
-
Dear all,
is it possible to find out which GPU was assigned to which job through squeue
or sacct?
My motivation is as follows: some users write jobs with bad resource usage
(e.g., 1h CPU to precompute, followed by 1h GPU to process, and so on). I don't
care so much about CPUs at the moment as