Skip to content
Snippets Groups Projects
Commit c55c502d authored by Jan Vicherek's avatar Jan Vicherek
Browse files

Update nvidia-hip.md

parent 750fff2c
No related branches found
No related tags found
1 merge request!418Update nvidia-hip.md
Pipeline #29516 failed
...@@ -6,20 +6,35 @@ ROCm HIP allows developers to convert [CUDA code][a] to portable C++. The same s ...@@ -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). 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 ## Installed Versions of Singularity/apptainer
For the current list of installed versions, use: For the current list of installed versions, use:
```console ```console
module avail apptainer module avail apptainer
# ----------------- /apps/modules/tools ------------------
# apptainer-wrappers/1.0 (A) apptainer/1.1.5
``` ```
Load the required module: Load the required module:
```console ```console
module load apptainer/1.1.5 module load apptainer/1.1.5
``` ```
## Launch Singularity/apptainer
Run the container: Run the container:
```console ```console
...@@ -32,6 +47,7 @@ The above gives you Singularity / apptainer shell prompt: ...@@ -32,6 +47,7 @@ The above gives you Singularity / apptainer shell prompt:
Singularity> Singularity>
``` ```
## Inside the container
Verify that you have GPUs active and accessible on the given node: Verify that you have GPUs active and accessible on the given node:
```console ```console
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment