[slurm-users] Checking allocated GRES? SLURM 16.05.x

Kilian Cavalotti kilian.cavalotti.work at gmail.com
Mon Feb 5 14:11:25 MST 2018


Hi Ryan,

On Mon, Feb 5, 2018 at 8:06 AM, Ryan Novosielski <novosirj at rutgers.edu> wrote:
> We currently use SLURM 16.05.10 and one of our staff asked how they
> can check for allocated GPUs, as you might check allocated CPUs by
> doing scontrol show node. I could have sworn that you can see both,
> but I see that only CPUs is visible. One of our staff recommended
> using sacct to see it. Is there a better way?

    scontrol -d show node <nodename>

will display a GresUsed line, that shows how many of those Gres are
allocated, if that's what you're looking for. You'll get a count, but
not individual ids, AFAIK.

Cheers,
-- 
Kilian



More information about the slurm-users mailing list