<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>  I am new to SLURM.<br></div><div><br></div><div>  I have access to a cluster where one of the node has 4 GPUs</div><div><br></div><div>   We are running version SLURM 17.11.12</div><div><br></div><div>  Is there some SBATCH token=value pair value I can use to submit jobs (each of which has an application that is only able to utilize 1 GPU) so that if I submit 6 copies, 4 copies will be dispatched and the 2 remaining will be in a state e.g. PD, until a GPU frees up<br></div><div><br></div><div><span style="font-family:monospace,monospace">+-----------------------------------------------------------------------------+<br>| NVIDIA-SMI 396.44                 Driver Version: 396.44                    |<br>|-------------------------------+----------------------+----------------------+<br>| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |<br>| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<br>|===============================+======================+======================|<br>|   0  Tesla P100-PCIE...  On   | 00000000:25:00.0 Off |                    0 |<br>| N/A   29C    P0    26W / 250W |      0MiB / 16280MiB |      0%      Default |<br>+-------------------------------+----------------------+----------------------+<br>|   1  Tesla P100-PCIE...  On   | 00000000:59:00.0 Off |                    0 |<br>| N/A   26C    P0    26W / 250W |      0MiB / 16280MiB |      0%      Default |<br>+-------------------------------+----------------------+----------------------+<br>|   2  Tesla P100-PCIE...  On   | 00000000:6D:00.0 Off |                    0 |<br>| N/A   27C    P0    26W / 250W |      0MiB / 16280MiB |      0%      Default |<br>+-------------------------------+----------------------+----------------------+<br>|   3  Tesla P100-PCIE...  On   | 00000000:99:00.0 Off |                    0 |<br>| N/A   31C    P0    26W / 250W |      0MiB / 16280MiB |      0%      Default |<br>+-------------------------------+----------------------+----------------------+<br></span><br></div><div><br></div><div>Cheers<br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Nicholas Yue<br>Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5<br>Custom Dev - C++ porting, OSX, Linux, Windows<br><a href="http://au.linkedin.com/in/nicholasyue" target="_blank">http://au.linkedin.com/in/nicholasyue</a><br><a href="https://vimeo.com/channels/naiadtools" target="_blank">https://vimeo.com/channels/naiadtools</a><br></div></div></div></div></div></div>