diff --git a/docs.it4i/software/nvidia-hip.md b/docs.it4i/software/nvidia-hip.md index 55658a2c9e06034ecb4aec9b684ff29a99f42cba..7e62b1a6ebef78f34a9708e2896fbbfa45aee778 100644 --- a/docs.it4i/software/nvidia-hip.md +++ b/docs.it4i/software/nvidia-hip.md @@ -4,9 +4,9 @@ ROCm HIP allows developers to convert [CUDA code][a] to portable C++. The same source code can be compiled to run on NVIDIA or AMD GPUs. -This page documents the use of pre-built Singularity/apptainer image on Karolina Accelerated nodes (acn). +This page documents the use of pre-built Singularity/Apptainer image on Karolina Accelerated nodes (acn). -## Get into a GPU node +## Get Into GPU Node ```console qsub -I -q qnvidia -A OPEN-0-0 @@ -16,8 +16,7 @@ qsub -I -q qnvidia -A OPEN-0-0 # $ ``` - -## Installed Versions of Singularity/apptainer +## Installed Versions of Singularity/Apptainer For the current list of installed versions, use: @@ -27,27 +26,28 @@ module avail apptainer # apptainer-wrappers/1.0 (A) apptainer/1.1.5 ``` - Load the required module: ```console module load apptainer/1.1.5 ``` -## Launch Singularity/apptainer +## Launch Singularity/Apptainer + Run the container: ```console singularity shell /home/vic0092/rocm/centos7-nvidia-rocm.sif ``` -The above gives you Singularity / apptainer shell prompt: +The above gives you Singularity/Apptainer shell prompt: ```console Singularity> ``` -## Inside the container +## Inside Container + Verify that you have GPUs active and accessible on the given node: ```console