Skip to content

Commit 02a86ab

Browse files
committed
reload EESSI-extend when we switch EB versions
1 parent 0bb38bf commit 02a86ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

load_easybuild_module.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,8 @@ else
128128
fatal_error "EasyBuild not working?!"
129129
fi
130130

131+
# EESSI-extend checks for the EB version being used.
132+
# If EESSI-extend is already loaded, we need to reload it in order to reevaluate the checks.
133+
module is-loaded EESSI-extend && module update
134+
131135
unset EB_VERSION

0 commit comments

Comments
 (0)