From 2c5b33fae8e1fbda7e2d7f465ab0f8014a0acfab Mon Sep 17 00:00:00 2001 From: "John H. Hartman" Date: Wed, 11 Sep 2024 15:07:51 -0700 Subject: [PATCH] Unload cce prior to loading PrgEnv-gnu The cce module appears to cause a problem when used with the PrgEnv-gnu and libfabric modules loaded, as the hwloc configuration fails because -lfabric is not found. Unload the cce module prior to loading the PrgEnv-gnu module and let it reload cce should it want to, but this way cce isn't loaded if PrgEnv-gnu doesn't need it. Signed-off-by: John H. Hartman --- .../build_configs/cray-internal/setenv-hpe-cray-ex-x86_64.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/build_configs/cray-internal/setenv-hpe-cray-ex-x86_64.bash b/util/build_configs/cray-internal/setenv-hpe-cray-ex-x86_64.bash index 534c801d97d5..32cec4365825 100755 --- a/util/build_configs/cray-internal/setenv-hpe-cray-ex-x86_64.bash +++ b/util/build_configs/cray-internal/setenv-hpe-cray-ex-x86_64.bash @@ -319,6 +319,9 @@ else local target_compiler="gcc" #local target_version=$gen_version_gcc + # unload cce, let the PrgEnv module load it if necessary + unload_module_re cce + # unload any existing PrgEnv unload_module_re PrgEnv-