From 49a2684d8007f0fb644521727eee4dec5c07cfe2 Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Tue, 17 Jan 2023 11:03:17 +0100 Subject: [PATCH] Update nvidia-hip.md --- docs.it4i/software/nvidia-hip.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs.it4i/software/nvidia-hip.md b/docs.it4i/software/nvidia-hip.md index 55658a2c9..7e62b1a6e 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 -- GitLab