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.sha...@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.ars...@tubitak.gov.tr < > sefa.ars...@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-us...@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 > >