Skip to content
Snippets Groups Projects
Commit 59e97b17 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update nvidia-cuda.md

parent 698926b8
Branches
No related tags found
No related merge requests found
Pipeline #39699 failed
!!!warning
This page has not been updated yet. The page does not reflect the transition from PBS to Slurm.
# NVIDIA CUDA
## Introduction
......@@ -44,10 +41,10 @@ $ cd ~/cuda-samples/1_Utilities/deviceQuery
$ make
```
To run the code, the user can use a PBS interactive session to get access to a node from the qnvidia queue (note: use your project name with the `-A` parameter in the `qsub` command) and execute the binary file:
Request an interactive session on the `qgpu` queue and execute the binary file:
```console
$ qsub -I -q qnvidia -A OPEN-0-0
$ salloc -p qgpu -A PROJECT_ID
$ ml CUDA
$ ~/cuda-samples/1_Utilities/deviceQuery/deviceQuery
```
......@@ -191,10 +188,10 @@ This code can be compiled using the following command:
$ nvcc test.cu -o test_cuda
```
To run the code, use an interactive PBS session to get access to one of the GPU accelerated nodes:
To run the code, request an interactive session to get access to one of the GPU accelerated nodes:
```console
$ qsub -I -q qnvidia -A OPEN-0-0
$ salloc -p qgpu -A PROJECT_ID
$ ml cuda
$ ./test.cuda
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment