Skip to content

Commit

Permalink
Build UFS with GOCART
Browse files Browse the repository at this point in the history
The UFS build script is updated to always build with GOCART available.

Refs: NOAA-EMC#516
  • Loading branch information
WalterKolczynski-NOAA committed Jan 13, 2022
1 parent 29f1bb8 commit 60d359d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions sorc/build_ufs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@ set -eux
APP="ATMW"
CCPP_SUITES="FV3_GFS_v16,FV3_GFS_v16_RRTMGP,FV3_GFS_v16_ugwpv1"

while getopts "ac" option; do
while getopts "c" option; do
case "${option}" in
a)
APP="ATMAERO"
CCPP_SUITES="FV3_GFS_v16,FV3_GFS_v16_ugwpv1"
shift
;;
c)
APP="S2SW"
CCPP_SUITES="FV3_GFS_v16_coupled_nsstNoahmpUGWPv1,FV3_GFS_v16_coupled_p7_rrtmgp"
Expand Down Expand Up @@ -50,5 +45,5 @@ if [ -d build ]; then
rm -R build
fi
mkdir -p build && cd build
cmake -DAPP=${APP} -DCCPP_SUITES=${CCPP_SUITES} ..
cmake -DAPP=${APP} -DCCPP_SUITES=${CCPP_SUITES} -DUFS_GOCART="ON" ..
OMP_NUM_THREADS=1 make -j ${BUILD_JOBS:-8} VERBOSE=${BUILD_VERBOSE:-}

0 comments on commit 60d359d

Please sign in to comment.