[slurm-users] Available gpus ?

Alex Chekholko alex at calicolabs.com
Fri Mar 16 13:17:25 MDT 2018


There was a previous thread where someone recommended a third-party script:
"pestat -G" that will parse the outputs of 'scontrol shown node' and
'scontrol show job' and add up the used GPUs perhaps?
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat


On Fri, Mar 16, 2018 at 11:44 AM, jayraj shah <jayraj.shah33 at gmail.com>
wrote:

> Thank you.
> I tried that option but it gives me, how many gpus are available/attached
> to node. (such as gpu:8)
> I want to know how many are used and how many are free (to run my jobs on
> free gpus).
>
> On Fri, Mar 16, 2018 at 2:34 PM, sefa.arslan at tubitak.gov.tr <
> sefa.arslan at tubitak.gov.tr> wrote:
>
>> You msy use sinfo with parameters i.e. %G .
>>
>> https://slurm.schedmd.com/sinfo.html
>>
>> Sefa Arslan
>>
>> ------ Orijinal mesaj------
>> *Kimden: *jayraj shah
>> *Tarih: *Cum, 16 Mar 2018 21:18
>> *Kime: *slurm-users at schedmd.com;
>> *Konu:*[slurm-users] Available gpus ?
>>
>> I am trying to find out how as a user, I can get information about
>> available/unused gpus on cluster.
>>
>> This cluster is setup in a way that user can request gpus per node
>> between 1 to 8. Using sinfo it shows that STATE is "mix". But I can't tell
>> how many out of 8 are being used and how many are available on that mix
>> state node for other user to use.
>>
>>
>> Please let me know your suggestions.
>>
>>
>>
>> --
>> Thanks
>> Jayraj
>>
>>
>
>
> --
> Thanks
> Jayraj
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180316/d2017d89/attachment-0001.html>


More information about the slurm-users mailing list