Skip to content

Commit 070041f

Browse files
committed
Add another missing variable
1 parent 4acca2d commit 070041f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/tests_eessi_module.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ jobs:
105105
export EESSI_DEBUG_INIT=true
106106
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)
107107
module load EESSI/${{matrix.EESSI_VERSION}}
108-
# EESSI_DEBUG_INIT only relevant for Lmod init
108+
# EESSI_DEBUG_INIT/EESSI_ARCHDETECT_OPTIONS only relevant for Lmod init
109109
unset EESSI_DEBUG_INIT
110+
unset EESSI_ARCHDETECT_OPTIONS
110111
# Store all relevant environment variables
111112
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH|^MODULEPATH)' | sort > "${moduleoutfile}"
112113
module unload EESSI/${{matrix.EESSI_VERSION}}

init/eessi_environment_variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ if [ -d $EESSI_PREFIX ]; then
101101
lmod_rc_file="$LMOD_CONFIG_DIR/lmodrc.lua"
102102
if [ -f $lmod_rc_file ]; then
103103
show_msg "Found Lmod configuration file at $lmod_rc_file"
104+
export LMOD_RC="$lmod_rc_file"
104105
else
105106
error "Lmod configuration file not found at $lmod_rc_file"
106107
fi

0 commit comments

Comments
 (0)