Skip to content

Commit 2ba47e4

Browse files
committed
Add README for GPU support
1 parent 6537725 commit 2ba47e4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gpu_support/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# How to add GPU support
2+
The collection of scripts in this directory enables you to add GPU support to your setup.
3+
Note that currently this means that CUDA support can be added for Nvidia GPUs. AMD GPUs are not yet supported (feel free to contribute that though!).
4+
To enable the usage of CUDA in your setup, simply run the following script:
5+
```
6+
./add_nvidia_gpu_support.sh
7+
```
8+
## Prerequisites and tips
9+
* You need write permissions to `/cvmfs/pilot.eessi-hpc.org/host_injections` (which by default is a symlink to `/opt/eessi` but can be configured in your CVMFS config file to point somewhere else). If you would like to make a system-wide installation you should change this in your configuration to point somewhere on a shared filesystem.
10+
* If you want to install CUDA on a node without GPUs (e.g. on a login node where you want to be able to compile your CUDA-enabled code), you should `export INSTALL_WO_GPU=true` in order to skip checks and tests that can only succeed if you have access to a GPU.

0 commit comments

Comments
 (0)