From 59e97b174b44123d22c976aac3c1b39be1ed7ede Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Mon, 2 Sep 2024 09:36:50 +0200 Subject: [PATCH] Update nvidia-cuda.md --- docs.it4i/software/nvidia-cuda.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs.it4i/software/nvidia-cuda.md b/docs.it4i/software/nvidia-cuda.md index 10457081f..1be2245fd 100644 --- a/docs.it4i/software/nvidia-cuda.md +++ b/docs.it4i/software/nvidia-cuda.md @@ -1,6 +1,3 @@ -!!!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 ``` -- GitLab