User Tools

Site Tools


guide:gpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guide:gpu [2020/04/14 13:23]
kevin [GPU Queues]
guide:gpu [2020/10/19 14:28] (current)
kevin [Example Job Script]
Line 52: Line 52:
  
 ^  Queue name  ^  Max. CPUs  ^  Max. GPUs  ^  PBSPro options ​ ^ Comments ​ ^ ^  Queue name  ^  Max. CPUs  ^  Max. GPUs  ^  PBSPro options ​ ^ Comments ​ ^
-|  **gpu_1** ​ |  10 |  1 | ''​-q gpu_1''​\\ ''​-l ncpus=9:​ngpus=1'' ​ | Access one GPU device only per job.  | +|  **gpu_1** ​ |  10 |  1 | ''​-q gpu_1''​\\ ''​-l ​select=1:ncpus=9:​ngpus=1'' ​ | Access one GPU device only per job.  | 
-|  **gpu_2** ​ |  20 |  2 | ''​-q gpu_2''​\\ ''​-l ncpus=18:​ngpus=2'' ​ | Access two GPU devices per job.  | +|  **gpu_2** ​ |  20 |  2 | ''​-q gpu_2''​\\ ''​-l ​select=1:ncpus=18:​ngpus=2'' ​ | Access two GPU devices per job.  | 
-|  **gpu_3** ​ |  36 |  3 | ''​-q gpu_3''​\\ ''​-l ncpus=36:​ngpus=3'' ​ | Access three GPU devices per job.  | +|  **gpu_3** ​ |  36 |  3 | ''​-q gpu_3''​\\ ''​-l ​select=1:ncpus=36:​ngpus=3'' ​ | Access three GPU devices per job.  | 
-|  **gpu_4** ​ |  40 |  4 | ''​-q gpu_4''​\\ ''​-l ncpus=40:​ngpus=4'' ​ | Access four GPU devices on NVLink nodes. ​ |+|  **gpu_4** ​ |  40 |  4 | ''​-q gpu_4''​\\ ''​-l ​select=1:ncpus=40:​ngpus=4'' ​ | Access four GPU devices on NVLink nodes. ​ | 
 + 
 +Note the ''​ncpus''​ parameters that should be set to match the number of GPU devices you need.
  
 ====GPU Queue Limits==== ====GPU Queue Limits====
Line 95: Line 97:
 echo echo
 echo `date`: executing CUDA job on host ${HOSTNAME} echo `date`: executing CUDA job on host ${HOSTNAME}
 +echo
 +echo Available GPU devices: $CUDA_VISIBLE_DEVICES
 echo echo
  
/var/www/wiki/data/attic/guide/gpu.1586863392.txt.gz · Last modified: 2020/04/14 13:23 by kevin