Merge branch '352-psi-openmpi-modules-not-loading-correctly' into 'master'

Resolve "PSI OpenMPI modules not loading correctly"

Closes #352

See merge request Pmodules/src!351

(cherry picked from commit 340ddd0699)

33f58472 modulecmd: bugfix in loading multiple modules in same call of module

Co-authored-by: gsell <achim.gsell@psi.ch>
This commit is contained in:
2024-09-05 17:27:11 +02:00
parent 65eaded799
commit 84642e7584
+2
View File
@@ -892,6 +892,8 @@ subcommand_load() {
fi
test -r "${deps_file}" && load_dependencies "$_"
[[ ":${LOADEDMODULES}:" == *:${m}:* ]] && continue
# load module
modulecmd="${interp[${current_modulefile}]}"
local output=''