You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Changes your `$PATH`, `$MODULEPATH`, `$LD_LIBRARY_PATH`, and other critical environment variables.
13
14
- Sets EESSI-specific variables such as `EESSI_ROOT`.
14
15
15
-
This is the recommended method because it:
16
-
- Detects your CPU architecture and OS.
16
+
However, it is the recommended method because it:
17
+
18
+
- Detects system CPU architecture and OS.
17
19
- Detects and configures GPU support.
18
20
- Prepares the full EESSI software stack.
19
21
- Sets up Lmod (environment module system).
20
22
21
-
The [EESSI docs](https://www.eessi.io/docs/using_eessi/setting_up_environment/) offer another method to load EESSI, in addition to one above. The alternative method only initialises the Lmod module system and does not load a platform-specific setup. For these reasons, it is recommened to use the method detailed above.
23
+
The [EESSI docs](https://www.eessi.io/docs/using_eessi/setting_up_environment/) offer another method to load EESSI. This alternative method only initialises the Lmod module system and does not load a platform-specific setup. For these reasons, it is recommended to use the method detailed above.
22
24
23
25
Successful environment setup will show `{EESSI 2023.06}` at the start of your CLI.
24
26
25
-
To deactivate your EESSI environment you can either restart your shell using `exec bash` or exit the shell by `exit`.
27
+
To deactivate your EESSI environment you can either restart your shell using `exec bash` or exit the shell by running `exit`.
26
28
27
29
## GPU Support with EESSI
28
-
To enable GPU support, you need a site-specific build that has CUDA enabled. For a guide on how to do this, please refer to [docs/image-build.md](../image-build.md).
30
+
31
+
To enable GPU support, the cluster must be running a site-specific image build that has CUDA enabled. For a guide on how to do this, please refer to [docs/image-build.md](../image-build.md).
29
32
30
33
### Using GPUs
34
+
31
35
All CUDA-enabled software in EESSI expects CUDA drivers in a specific `host_injections` directory.
32
36
33
-
#### To expose the NVIDIA GPU drivers:
37
+
#### To expose the NVIDIA GPU drivers
38
+
34
39
Use the `link_nvidia_host_libraries.sh` script, provided by EESSI, to symlink your GPU drivers into `host_injections`.
Rerun this script when your NVIDIA GPU drivers are updated. It is also safe to rerun at any time as the script will detect if the driver versions have already been symlinked.
39
46
40
47
### Building with GPUs
41
48
42
49
Run `which nvcc` to confirm that the CUDA compiler is found.
43
50
44
51
If `nvcc` is not found, add the CUDA path to your environment:
0 commit comments