forked from wrf-model/WRF
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update WATS plots & other minor fixes
- Loading branch information
Showing
4 changed files
with
53 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,13 @@ steps: | |
- bash: | | ||
set -ex | ||
if [[ $MODE == dm* ]]; then mpi_flag="--mpi"; fi | ||
if [[ $OS_NAME == macOS ]]; then | ||
# Work around Open MPI issue | ||
# https://github.com/open-mpi/ompi/issues/6518 | ||
# https://github.com/open-mpi/ompi/issues/5798 | ||
# https://www.mail-archive.com/[email protected]/msg20760.html | ||
export OMPI_MCA_btl=self,tcp | ||
fi | ||
if [[ $BUILD_SYSTEM == "CMake" ]]; then dir_suffix="build/install"; fi | ||
python wats/wats/main.py run --mode $WATS_MODE --wrf-dir ./$dir_suffix --wps-dir ../WPS/$dir_suffix --wps-case-output-dir wats_wps_outputs/00 --work-dir wats_work $mpi_flag | ||
displayName: Run WATS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters