Difference between revisions of "RTX2080 Testing"

From ScientificComputing
Jump to: navigation, search
Line 11: Line 11:
 
==Usage==
 
==Usage==
  
=== Any RDX GPU ===
+
=== Any RTX GPU ===
Use the <tt>-R rdx</tt> bsub option to request <em>either</em> of these GPUs:
+
Use the <tt>-R rtx</tt> bsub option to request <em>either</em> of these GPUs:
  
  bsub -R rdx ./my_gpu_program
+
  bsub -R rtx ./my_gpu_program
  
=== Specific RDX GPU ===
+
=== Specific RTX GPU ===
 
Due to limitations of the batch system you can not request a specific one of these GPUs. Instead you need to request all four GPUs
 
Due to limitations of the batch system you can not request a specific one of these GPUs. Instead you need to request all four GPUs
  
  bsub -R rdx -R "rusage[ngpus_excl_p=4]" ./my_gpu_program
+
  bsub -R rtx -R "rusage[ngpus_excl_p=4]" ./my_gpu_program
  
 
and then [https://devblogs.nvidia.com/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/ programatically select the desired GPU using CUDA]. The first two GPUs are '''2080&nbsp;Ti'''s while the last two are the '''2080''' non-Tis. For example to use only two '''2080&nbsp;Ti'''s, run:
 
and then [https://devblogs.nvidia.com/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/ programatically select the desired GPU using CUDA]. The first two GPUs are '''2080&nbsp;Ti'''s while the last two are the '''2080''' non-Tis. For example to use only two '''2080&nbsp;Ti'''s, run:
  
  bsub -R rdx -R "rusage[ngpus_excl_p=4]" "CUDA_VISIBLE_DEVICES=2,3 ./my_gpu_program"
+
  bsub -R rtx -R "rusage[ngpus_excl_p=4]" "CUDA_VISIBLE_DEVICES=2,3 ./my_gpu_program"

Revision as of 08:28, 30 April 2019

Introduction

We have received four GPUs for evaluation:

  • 2 nVidia GeForce RTX 2080 and
  • 2 nVidia GeForce RTX 2080 Ti

All four GPUs are installed in a single node with two Intel Xeon Gold 6140 CPUs (2.3 GHz) and 256 GiB of RAM.

Initially only jobs with a runtime up to 24 hours can use these nodes.

Usage

Any RTX GPU

Use the -R rtx bsub option to request either of these GPUs:

bsub -R rtx ./my_gpu_program

Specific RTX GPU

Due to limitations of the batch system you can not request a specific one of these GPUs. Instead you need to request all four GPUs

bsub -R rtx -R "rusage[ngpus_excl_p=4]" ./my_gpu_program

and then programatically select the desired GPU using CUDA. The first two GPUs are 2080 Tis while the last two are the 2080 non-Tis. For example to use only two 2080 Tis, run:

bsub -R rtx -R "rusage[ngpus_excl_p=4]" "CUDA_VISIBLE_DEVICES=2,3 ./my_gpu_program"