File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,9 @@ jobs:
105
105
export EESSI_DEBUG_INIT=true
106
106
CPU_ARCH=$(./init/eessi_archdetect.sh -a cpupath)
107
107
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
109
109
unset EESSI_DEBUG_INIT
110
+ unset EESSI_ARCHDETECT_OPTIONS
110
111
# Store all relevant environment variables
111
112
env | grep -E '(^EESSI_|^LMOD_RC|^LMOD_PACKAGE_PATH|^MODULEPATH)' | sort > "${moduleoutfile}"
112
113
module unload EESSI/${{matrix.EESSI_VERSION}}
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ if [ -d $EESSI_PREFIX ]; then
101
101
lmod_rc_file="$LMOD_CONFIG_DIR/lmodrc.lua"
102
102
if [ -f $lmod_rc_file ]; then
103
103
show_msg "Found Lmod configuration file at $lmod_rc_file"
104
+ export LMOD_RC="$lmod_rc_file"
104
105
else
105
106
error "Lmod configuration file not found at $lmod_rc_file"
106
107
fi
You can’t perform that action at this time.
0 commit comments