Hi Ryan,

On Mon, Feb 5, 2018 at 8:06 AM, Ryan Novosielski <novos...@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

Reply via email to