Skip to content

Commit

Permalink
Bug fix in load_modules taken from PR ufs-community#353.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabdi-noaa committed Sep 22, 2022
1 parent 9092cb4 commit c6f3926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ OPTIONS
--install-dir=INSTALL_DIR
installation prefix
--bin-dir=BIN_DIR
installation binary directory name ("bin" by default; any name is available)
installation binary directory name ("exec" by default; any name is available)
--build-type=BUILD_TYPE
build type; defaults to RELEASE
(e.g. DEBUG | RELEASE | RELWITHDEBINFO)
Expand Down
2 changes: 1 addition & 1 deletion ush/load_modules_run_task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fi
#
machine=$(echo_lowercase $MACHINE)

source "${SR_WX_APP_TOP_DIR}/etc/lmod-setup.sh"
source "${SR_WX_APP_TOP_DIR}/etc/lmod-setup.sh" ${machine}
module use "${SR_WX_APP_TOP_DIR}/modulefiles"
module load "${BUILD_MOD_FN}" || print_err_msg_exit "\
Loading of platform- and compiler-specific module file (BUILD_MOD_FN)
Expand Down

0 comments on commit c6f3926

Please sign in to comment.