diff --git a/docs.it4i/software/nvidia-hip.md b/docs.it4i/software/nvidia-hip.md index 0bb0afa4f235cec713bf86b4130026826d16b95f..55658a2c9e06034ecb4aec9b684ff29a99f42cba 100644 --- a/docs.it4i/software/nvidia-hip.md +++ b/docs.it4i/software/nvidia-hip.md @@ -6,20 +6,35 @@ ROCm HIP allows developers to convert [CUDA code][a] to portable C++. The same s This page documents the use of pre-built Singularity/apptainer image on Karolina Accelerated nodes (acn). +## Get into a GPU node + +```console +qsub -I -q qnvidia -A OPEN-0-0 + # you get: + # qsub: waiting for job 1777777.infra-pbs to start + # qsub: job 1777777.infra-pbs ready + # $ +``` + + ## Installed Versions of Singularity/apptainer For the current list of installed versions, use: ```console module avail apptainer +# ----------------- /apps/modules/tools ------------------ +# apptainer-wrappers/1.0 (A) apptainer/1.1.5 ``` + Load the required module: ```console module load apptainer/1.1.5 ``` +## Launch Singularity/apptainer Run the container: ```console @@ -32,6 +47,7 @@ The above gives you Singularity / apptainer shell prompt: Singularity> ``` +## Inside the container Verify that you have GPUs active and accessible on the given node: ```console