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:
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}}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments