Skip to content
Snippets Groups Projects
Commit 78e3f52f authored by Jan Vicherek's avatar Jan Vicherek Committed by Jan Siwiec
Browse files

Update nvidia-hip.md

parent 750fff2c
No related branches found
No related tags found
1 merge request!418Update nvidia-hip.md
......@@ -4,14 +4,26 @@
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).
## Installed Versions of Singularity/apptainer
## Get Into 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:
......@@ -20,18 +32,22 @@ Load the required module:
module load apptainer/1.1.5
```
## 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 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