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

Update nvidia-hip.md

parent c55c502d
No related branches found
No related tags found
1 merge request!418Update nvidia-hip.md
Pipeline #29517 passed with warnings
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment