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-