Skip to content

Commit

Permalink
fix meta_modules.py when building mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Jan 27, 2024
1 parent 1c07061 commit e946769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spack-ext/lib/jcsda-emc/spack-stack/stack/meta_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,10 @@ def setup_meta_modules():
# and load it with the wrapper, don't set any of the other substitutes
module = "{}/{}".format(mpi_name, mpi_version)
substitutes["MODULELOADS"] += module_load_command(
module_choice, module
module_choice, module.split("-")[0]
).rstrip("\n")
substitutes["MODULEPREREQS"] += module_prereq_command(
module_choice, module
module_choice, module.split("-")[0]
).rstrip("\n")
logging.debug(
" ... ... MODULELOADS: {}".format(substitutes["MODULELOADS"])
Expand Down

0 comments on commit e946769

Please sign in to comment.