HPC Grid Tutorial: How to Prepare to Develop and Compile Code for the NVIDIA Tesla

Follow these steps to develop and compile code for the NVIDIA Tesla graphic processing units.

1. Log on to the Grid.

2. Start an interactive job specifying how many GPU's that you want. In this example we submit to the queue accq, which has the NVIDIA Tesla cards. We ask for 1 GPU.

Type: qsub -I -q accq -l ngpus=1

3. Load the cuda/10.0 module. Type: module load cuda/10.0


4. You can find the path for the modules. Type: which nvcc

The path is shown.