File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -255,10 +255,17 @@ jobs:
255255
256256 - name : Make sure we have a sticky EESSI module
257257 run : |
258- # Set the relevant environment variable and load the EESSI module via Lmod initialisation
259- export EESSI_MODULE_STICKY=1
258+ # Initialise Lmod
260259 . /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/compat/linux/$(uname -m)/usr/share/Lmod/init/bash
261260
262- # Purge the environment and check if EESSI is still loaded
261+ # Make sure we using the module file from the repository
262+ export MODULEPATH=init/modules
263+
264+ # Set the relevant environment variable and load the EESSI module
265+ export EESSI_MODULE_STICKY=1
266+ module load "EESSI/${{matrix.EESSI_VERSION}}"
267+ module list |& grep "EESSI/${{matrix.EESSI_VERSION}}"
268+
269+ # Purge and check the module is still loaded
263270 module purge
264271 module list |& grep "EESSI/${{matrix.EESSI_VERSION}}"
You can’t perform that action at this time.
0 commit comments