forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated FV3 to 24Feb22 gsl/develop branch, a2a6a22, tag global-24Feb…
…2022
- Loading branch information
Showing
10 changed files
with
65 additions
and
12,962 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#! /usr/bin/env bash | ||
set -eux | ||
|
||
source ./machine-setup.sh > /dev/null 2>&1 | ||
cwd=`pwd` | ||
|
||
USE_PREINST_LIBS=${USE_PREINST_LIBS:-"true"} | ||
if [ $USE_PREINST_LIBS = true ]; then | ||
export MOD_PATH=/lfs4/HFIP/hfv3gfs/nwprod/NCEPLIBS/modulefiles | ||
else | ||
export MOD_PATH=${cwd}/lib/modulefiles | ||
fi | ||
|
||
# Check final exec folder exists | ||
if [ ! -d "../exec" ]; then | ||
mkdir ../exec | ||
fi | ||
|
||
if [ $target = hera ]; then target=hera.intel ; fi | ||
if [ $target = jet ]; then target=jet.intel ; fi | ||
if [ $target = orion ]; then target=orion.intel ; fi | ||
|
||
cd ufs-weather-model_24feb22_a2a6a22 | ||
FV3=$( pwd -P )/FV3 | ||
cd tests/ | ||
./compile.sh "$target" "-DAPP=ATM -D32BIT=Y -DCCPP_SUITES=FV3_GFS_v16,FV3_GSD_noah_unified_ugwp" 2 YES NO | ||
mkdir -p ../NEMS/exe | ||
mv -f fv3_2.exe ../NEMS/exe/global_fv3gfs.x |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
#set -xue | ||
set -x | ||
|
||
topdir=$(pwd) | ||
echo $topdir | ||
|
||
echo ufs-weather-model_24feb22_gsldev.fd checkout ... | ||
if [[ ! -d ufs-weather-model_24feb22_a2a6a22 ]] ; then | ||
rm -f ${topdir}/checkout-24feb22.log | ||
git clone --recursive -b gsl/develop https://github.com/NOAA-GSL/ufs-weather-model ufs-weather-model_24feb22_a2a6a22 >> ${topdir}/checkout-24feb22.log 2>&1 | ||
cd ufs-weather-model_24feb22_a2a6a22 | ||
git checkout a2a6a22b865d471a2814712ea80bef946d30bd2d | ||
git submodule update --init --recursive | ||
cd ${topdir} | ||
ln -fs ufs-weather-model_24feb22_a2a6a22 fv3gfs.fd | ||
rsync -avx fv3gfs.fd_gsl/FV3/ fv3gfs.fd/FV3/ ## copy over changes not in FV3 repository | ||
else | ||
echo 'Skip. Directory ufs-weather-model_24feb22_gsldev.fd already exists.' | ||
fi | ||
|
||
exit 0 |
Oops, something went wrong.