Skip to content

Commit

Permalink
Hack UPP version (NOAA-EMC#2042)
Browse files Browse the repository at this point in the history
The stack UPP was using on Orion was recently deleted, leaving us
unable to build the UFS verison of UPP there. UPP has an updated
version using spack-stack that works, so the checkout script is
modified to check out that version of UPP after UFS has been
checked out.

This temporary hack can be removed once we move to a UFS version
that advances the UPP version to or beyond 78f369b.

Resolves NOAA-EMC#2041
  • Loading branch information
WalterKolczynski-NOAA authored Nov 8, 2023
1 parent 20f6ece commit 13d06de
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sorc/checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ for checkout_pid in $(jobs -p); do
wait "${checkout_pid}" || errs=$((errs + $?))
done

# Temporary hack to check out a UPP verison that works on Orion
# This can be removed once the UFS UPP version advances to or beyond 78f369b
cd "${topdir}/ufs_model.fd/FV3/upp" || exit 1
git checkout 78f369b
cd "${topdir}" || exit 1
# End hack

if (( errs > 0 )); then
echo "WARNING: One or more errors encountered during checkout process, please check logs before building"
fi
Expand Down

0 comments on commit 13d06de

Please sign in to comment.