From 84642e75841c4d672f6ea95357486f6c21ce6b15 Mon Sep 17 00:00:00 2001 From: gsell Date: Thu, 5 Sep 2024 17:27:11 +0200 Subject: [PATCH] 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 340ddd06990cd12fc8f907952bb4048dd1f09ef7) 33f58472 modulecmd: bugfix in loading multiple modules in same call of module Co-authored-by: gsell --- Pmodules/modulecmd.bash.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 53b62b1..765efcb 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -892,6 +892,8 @@ subcommand_load() { fi test -r "${deps_file}" && load_dependencies "$_" + [[ ":${LOADEDMODULES}:" == *:${m}:* ]] && continue + # load module modulecmd="${interp[${current_modulefile}]}" local output=''