I am working with a SLURM workload manager, and we have nodes with 4 GPUs.
The are several possible states of a node:
- allocated (all computing resources are allocated)
- mixed (part of the resources are allocated)
- idle (none of the computing resources is allocated)
Canonical way to determine the resource utilization is sinfo command - https://slurm.schedmd.com/sinfo.html. There are several flags and options. However, it seems, that none of them can tell how many resources on a given node are allocated ath the moment.
Say, I would like to know, for the mixed state, whether 1,2 or 3 GPU's are available. Or this information is confidential and for some reason not available to users?