Skip to content

Commit

Permalink
Unload cce prior to loading PrgEnv-gnu
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jhh67 committed Sep 11, 2024
1 parent cbaea60 commit 2c5b33f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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-

Expand Down

0 comments on commit 2c5b33f

Please sign in to comment.