Skip to content

Commit

Permalink
Unload cce prior to loading PrgEnv-gnu (chapel-lang#25934)
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.
  • Loading branch information
jhh67 authored Sep 11, 2024
2 parents c22e376 + 2c5b33f commit 3d23b8e
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 3d23b8e

Please sign in to comment.