Re: [slurm-users] Reading which GPUs were assigned to which job

2020-04-23 Thread Stephan Roth
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 -

[slurm-users] Reading which GPUs were assigned to which job

2020-04-23 Thread Holtgrewe, Manuel
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