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
*[ReFrame test library (`hpctestlib`)](https://reframe-hpc.readthedocs.io/en/stable/hpctestlib.html)
14
+
* (optionally) [EasyBuild](https://easybuild.io/)
14
15
15
16
??? note "(If your system Python version is lower than the minimum required version, click here for some tips)"
16
17
@@ -25,6 +26,8 @@ The EESSI test suite requires
25
26
* You can install a ReFrame module with EasyBuild and a [ReFrame easyconfig](https://github.com/easybuilders/easybuild-easyconfigs/tree/develop/easybuild/easyconfigs/r/ReFrame) containing a more recent Python version.
26
27
* Set RFM_PURGE_ENVIRONMENT=1 if you use Python from a module. The ReFrame easyconfigs automatically do that for you.
27
28
29
+
??? note EasyBuild is needed for certain tests (e.g. BLAS) that need to load multiple modules together. EasyBuilds functionality is used in these cases to finding matching-pairs of modules. If EasyBuild is not available, a warning will be printed and the tests requiring this functionality will be skipped.
30
+
28
31
#### Installing Reframe
29
32
30
33
General instructions for installing ReFrame are available in the [ReFrame documentation](https://reframe-hpc.readthedocs.io/en/stable/started.html). To check if ReFrame is available, run the `reframe` command:
@@ -167,3 +170,32 @@ also end up in the location specified by `$RFM_PREFIX`.
167
170
since our [common logging configuration](https://github.com/EESSI/test-suite/blob/main/eessi/testsuite/common_config.py)
168
171
only picks up on the `$RFM_PREFIX` environment variable to determine the location for the ReFrame log file.
169
172
173
+
#### Enabling GPU tests when submitting from a CPU-only node
174
+
175
+
By default, the test suite checks the currently available modules to determine which tests to run. This means that if you run the `reframe` command on a CPU node, but want it to submit GPU tests since you have GPU batch nodes, you'll need to make sure the test suite can 'see' (and load) those modules.
176
+
177
+
By default, EESSI makes modules available based on the host architecture. So, if the host on which the ReFrame command runs does not have NVIDIA GPUs, the CUDA-based modules will not be available, and the test suite will not run tests for them:
178
+
179
+
```bash
180
+
module load EESSI/2023.06
181
+
reframe -n LAMMPS_lj.*gpu -t 1_node --list
182
+
...
183
+
[List of matched checks]
184
+
Found 0 check(s)
185
+
```
186
+
187
+
To make sure the EESSI test suite can see (and load) the GPU modules on the CPU host, we have to set two additional variables before loading the EESSI module: `EESSI_ACCELERATOR_TARGET_OVERRIDE` and `EESSI_OVERRIDE_GPU_CHECK`. For example, if you want to run tests on a node with a `zen4` CPU and `H100` GPU
Since EESSI in principle exposes exactly the same modules for all supported Nvidia compute capabilities, it should not typically matter which _exact_ compute capability you provide here.
0 commit comments