Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ccpp #186

Merged
merged 103 commits into from
Nov 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
b70a9ec
* create branch for GMTB from 05Mar2019 global-workflow master, 595d44c9
jkhender Mar 5, 2019
4ba0ff9
update to 19Jul2019 develop branch
jkhender Jul 22, 2019
e5d8caf
- add changes needed to run CCPP version of NEMSFV3GFS for GFDL MP or…
jkhender Jul 22, 2019
e2b1933
- updated lsm=3 for RUC LSM in config.fcst_GSDsuite
jkhender Jul 23, 2019
e1dca1b
updated fcst configuration files`
jkhender Aug 7, 2019
dd46a85
VLab Issue #67188 - sync merge with develop branch after v15.2 commits
KateFriedman-NOAA Nov 18, 2019
59d2bd9
VLab Issue #67188 - updated GSI checkout revision and turned on wafs …
KateFriedman-NOAA Nov 18, 2019
8caefc9
added CCPP-FV3 checkout to checkout.sh
jkhender Nov 20, 2019
bdb5df5
add link so fv3gfs.fd points to fv3gfs_ccpp.fd checkout
jkhender Nov 20, 2019
cc8a5b9
- rename *GSDsuite files to original names (config.base.emc.dyn, conf…
jkhender Nov 26, 2019
2af0cfe
Merge branch 'develop' into gmtb_ccpp
jkhender Nov 26, 2019
6746e2d
corrected version of FV3 to check out (nemsfv3_gfsv15.2.1)
jkhender Nov 26, 2019
b1b9b80
VLab Issue #67188 - updated ProdGSI revision and resource settings
KateFriedman-NOAA Dec 2, 2019
6afa503
VLab Issue #67188 - fix to env/WCOSS_C.env
KateFriedman-NOAA Dec 2, 2019
86109d8
Merge branch 'port2hera' into gmtb_ccpp_hera
jkhender Dec 2, 2019
538ed21
update checkout.sh to use dtc/develop branch from NCAR:ufs-weather-mo…
jkhender Dec 2, 2019
4327dd1
corrected directory name and added logfile in checkout.sh
jkhender Dec 2, 2019
fea6dd8
add specific version for dtc/develop branch in checkout.sh
jkhender Dec 2, 2019
0994970
update build_fv3.sh for compiling CCPP version
jkhender Dec 2, 2019
c2de8c3
updated config.base.emc.dyn files
jkhender Dec 2, 2019
8a3cbc8
updated forecast configuration files
jkhender Dec 3, 2019
2c37fef
- updated aeroic.sh for hera
jkhender Dec 3, 2019
ae98aab
set RUCLSM with other land surface model options
jkhender Dec 4, 2019
432d28a
merge in changes from develop branch
jkhender Dec 4, 2019
de706ff
for now, comment out top 2 lines in diag tables for GSD; otherwise, g…
jkhender Dec 4, 2019
130d354
updates for running GDFL mp with CCPP
jkhender Dec 4, 2019
8353387
- define satmedmf earlier in config.fcst for MYNN
jkhender Dec 4, 2019
6b5a136
add 'git submodule sync' command to checkout.sh for fv3gfs_ccpp.fd
jkhender Dec 5, 2019
5fcb12a
-- modify checkout.sh to add new directory, sorc/aeroconv
jkhender Dec 9, 2019
97e9a3b
- adding changes to correct setting of ictype when generating FV3 ICs
jkhender Dec 10, 2019
1e64f84
Merge branch 'develop' into gmtb_ccpp_hera
jkhender Dec 10, 2019
0440916
- added aeroic task dependency for gfsfcst
jkhender Dec 11, 2019
598ac7c
* add Lin Gan's scripts
jkhender Jan 13, 2020
80e7ea6
corrected syntax for ttendlim variable
jkhender Jan 13, 2020
943cfdc
- added changes for creating one config.fcst and config.base.emc.dyn …
jkhender Jan 13, 2020
2ab0ed0
- make default CCPP suite GSD_v0
jkhender Jan 13, 2020
c884ab9
- new exglobal_fcst_nemsfv3gfs.sh script (merged from coupled_crow)
jkhender Jan 16, 2020
5815c4d
updated forecast configuration
jkhender Jan 17, 2020
6397f5e
- added links for Thompson lookup tables
jkhender Feb 5, 2020
a847acc
merge 26Mar20 develop branch into gmtb_ccpp_hera
jkhender Mar 31, 2020
d9fb3a1
Merge branch 'feature/gfsv16b' into gmtb_ccpp_hera
jkhender Apr 10, 2020
d0c5a0a
updated Externals.cfg with tags in checkout.sh for FV3GFS and EMC_Post
jkhender Apr 13, 2020
a34e8b3
- changes to add CCPP changes to exglobal forecast script
jkhender Apr 13, 2020
9446deb
- add GFS_v16beta and GSD_noah CCPP suites
jkhender Apr 13, 2020
984c0c4
- added sorc/aeroconv.fd to Externals.cfg file
jkhender Apr 13, 2020
5561ba9
- added aeroic task to setup workflow python scripts
jkhender Apr 14, 2020
8a67482
- updated GSI tag in Externals.cfg
jkhender Apr 21, 2020
273df73
- add comment when runnning with 20 ensemble members to jkhNOTES
jkhender Apr 21, 2020
bd4998d
- backed out adding CCPP_SUITE, ATARDIR, and HPSS_PROJECT to setup_ex…
jkhender Apr 22, 2020
d04907a
updated jkhNOTES
jkhender Apr 22, 2020
f60f47a
changed sorc/aeroconv directory name to sorc/aeroconf.fd
jkhender Apr 22, 2020
9829f71
Merge remote-tracking branch 'upstream/gmtb_ccpp_hera' into feature/ccpp
KateFriedman-NOAA Apr 24, 2020
4fc766b
- remove modular forecast scripts and obsolete exglobal script
jkhender Apr 30, 2020
a54ffbb
modified name of diag_table when running GSD_noah suite
jkhender May 1, 2020
a224896
added new diag table for DA when running GSD_noah suite
jkhender May 4, 2020
7df5172
corrected setting of effr_in to .true. for GSD suites
jkhender May 12, 2020
4e7d356
removed extra files
jkhender May 12, 2020
027b570
-- set DA diag table to diag_table_da_gsd when running GSD_v0 or GSD_…
jkhender Jun 18, 2020
c61841d
- made change for contrib modules
jkhender Jun 18, 2020
699c2e0
corrected syntax error and made all if CCPP_SUITE statements consistent
jkhender Jun 25, 2020
45f282d
revert config.nsst to original values and add if statements for GSD s…
jkhender Jun 26, 2020
99b8105
Merged with 26Jun feature/gfsv16b branch
jkhender Jun 26, 2020
a0de397
revert paths for HOMEobsproc_prep and HOMEobsproc_network since updat…
jkhender Jun 29, 2020
788a7e6
comment out setting of io_layout in config.fcst
jkhender Jun 29, 2020
df83408
updated files in jkh directories with current versions for GSI and fv…
jkhender Jul 1, 2020
86e3990
updated diag tables for GSL
jkhender Aug 7, 2020
12f16a8
save field_table_gsd as a file instead of link
jkhender Aug 7, 2020
af8f685
Merge feature_gfsv16b into feature_ccpp for testing
lgannoaa Sep 22, 2020
3568bdf
As requested from management, point ufs-weather-model to development:
lgannoaa Sep 23, 2020
cb4a7bb
modifications to python scripts
jkhender Sep 24, 2020
ee0f27b
- updated to use 28Sep develop ufs-weather-model, d021e7b0395ccac2b7…
jkhender Sep 30, 2020
4da0fea
Merge remote-tracking branch 'origin/feature/gfsv16b' into feature/ccpp
lgannoaa Oct 13, 2020
cbe5ddf
Cycled warm start run using develop ufs-weather-model branch and feat…
lgannoaa Oct 22, 2020
59f08b3
Merge remote-tracking branch 'upstream/port2orion' into feature/ccpp
lgannoaa Oct 22, 2020
52f5984
As of 11/12/2020, this package is tested with a C768 cycled (6 cycle)…
lgannoaa Nov 12, 2020
490f0a7
Merge remote-tracking branch 'upstream/develop' into feature/ccpp
lgannoaa Nov 12, 2020
d219141
Changes to be committed:
lgannoaa Nov 12, 2020
8aed527
deleted: jobs/rocoto/aeroic.sh
lgannoaa Nov 12, 2020
6e6fdd7
Remove GSD suite file and aero IC extract util
lgannoaa Nov 12, 2020
b806769
sync config.base.emc.dyn and config.resources with development
lgannoaa Nov 12, 2020
b053615
modified: parm/config/config.base.emc.dyn
yangfanglin Nov 13, 2020
267c661
Merge with v16ccpp
lgannoaa Nov 13, 2020
0b540d7
update eupd resource
lgannoaa Nov 13, 2020
1e5ebe4
Merge remote-tracking branch 'upstream/v16ccpp' into feature/ccpp
lgannoaa Nov 13, 2020
7826668
Remove development configuration from config.nsst
lgannoaa Nov 13, 2020
8aed1e4
modified: ../scripts/exglobal_forecast.sh
yangfanglin Nov 13, 2020
9cd719d
Modified build_all.sh checkout.sh partial_build.sh to allow switch tu…
lgannoaa Nov 13, 2020
fe79b87
Clean up development code from build_all
lgannoaa Nov 13, 2020
9616b2e
modified: build_fv3.sh
yangfanglin Nov 15, 2020
336647b
modified: exglobal_forecast.sh to add
yangfanglin Nov 15, 2020
1ec0ebf
bug fix exglobal_forecast.sh
yangfanglin Nov 15, 2020
e29fd0c
modified: ../parm/config/config.fcst and exglobal_forecast.sh
yangfanglin Nov 16, 2020
d8aa442
modified checkout.sh to check out a hash instead of head of the devel…
yangfanglin Nov 16, 2020
d59c09c
modified: ../scripts/exglobal_forecast.sh
yangfanglin Nov 16, 2020
dd7b006
Modify exglobal_forecast.sh to create namelist in runable sequence.
lgannoaa Nov 16, 2020
bf31243
Merge remote-tracking branch 'upstream/v16ccpp' into feature/ccpp
lgannoaa Nov 16, 2020
6066462
As requested, using 2e25df5fe952d27355ed58963148f46b82565469 for ufs-…
lgannoaa Nov 16, 2020
587e198
scripts/exglobal_forecast.sh Merge with v16ccpp
lgannoaa Nov 16, 2020
9e8f960
Modify build_all.sh
lgannoaa Nov 16, 2020
2432dc5
Fix missing COMROOT setting on Orion
KateFriedman-NOAA Nov 16, 2020
66cc1a0
Merge pull request #1 from KateFriedman-NOAA/ccpp
lgannoaa Nov 16, 2020
036cc11
Adjust efcs walltime and eupd thread value on Orion
KateFriedman-NOAA Nov 17, 2020
32a004a
Merge pull request #2 from KateFriedman-NOAA/ccpp
lgannoaa Nov 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion driver/product/run_postsnd.sh.dell
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export MP_STDOUTMODE=ordered

#export machine="WCOSS_C"
machine="WCOSS_DELL_P3"
#machine="THEIA"
#machine="JET"
export npe_postsnd=40
export npe_postsndcfp=9
Expand Down
6 changes: 5 additions & 1 deletion jobs/rocoto/getic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ if [ $ics_from = "opsgfs" ]; then
fanal[1]="./${CDUMP}.$yyyy$mm$dd/$cyc/${CDUMP}.t${cyc}z.atmanl.nemsio"
fanal[2]="./${CDUMP}.$yyyy$mm$dd/$cyc/${CDUMP}.t${cyc}z.sfcanl.nemsio"
flanal="${fanal[1]} ${fanal[2]}"
tarpref="gpfs_dell1_nco_ops_com"
if [ $CDATE -ge "2020022600" ]; then
tarpref="com"
else
tarpref="gpfs_dell1_nco_ops_com"
fi
if [ $CDUMP = "gdas" ]; then
tarball="$hpssdir/${tarpref}_gfs_prod_${CDUMP}.${yyyy}${mm}${dd}_${cyc}.${CDUMP}_nemsio.tar"
elif [ $CDUMP = "gfs" ]; then
Expand Down
4 changes: 4 additions & 0 deletions parm/config/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ export LEVS=128
export CASE="@CASECTL@"
export CASE_ENKF="@CASEENS@"

# Run with CCPP physics
export RUN_CCPP="NO"
export CCPP_SUITE="FV3_GFS_v16beta"

# Surface cycle update frequency
if [[ "$CDUMP" == "gdas" ]] ; then
export FHCYC=1
Expand Down
4 changes: 4 additions & 0 deletions parm/config/config.base.nco.static
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ export LEVS=128
export CASE="C768"
export CASE_ENKF="C384"

# Run with CCPP physics
export RUN_CCPP="NO"
export CCPP_SUITE="FV3_GFS_v16beta"

# Surface cycle update frequency
if [[ "$CDUMP" == "gdas" ]] ; then
export FHCYC=1
Expand Down
5 changes: 3 additions & 2 deletions parm/config/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ fi

# Radiation options
export IAER=5111 ;#spectral band mapping method for aerosol optical properties
export iovr_lw=3 ;#de-correlation length cloud overlap method (Barker, 2008)
export iovr_sw=3 ;#de-correlation length cloud overlap method (Barker, 2008)
export iovr_lw=3 ;#de-correlation length cloud overlap method (Barker, 2008)
export iovr_sw=3 ;#de-correlation length cloud overlap method (Barker, 2008)
export iovr=3 ;#de-correlation length cloud overlap method (Barker, 2008)
export icliq_sw=2 ;#cloud optical coeffs from AER's newer version v3.9-v4.0 for hu and stamnes


Expand Down
1 change: 0 additions & 1 deletion parm/config/config.gldas
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ export GLDASSH=$HOMEgfs/scripts/exgdas_atmos_gldas.sh
export gldas_spinup_hours=72
export CPCGAUGE=$DMPDIR


KateFriedman-NOAA marked this conversation as resolved.
Show resolved Hide resolved
echo "END: config.gldas"
5 changes: 1 addition & 4 deletions parm/config/config.prep
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ export DO_RELOCATE="NO"
export TROPCYQCRELOSH="$HOMEgfs/scripts/exglobal_atmos_tropcy_qc_reloc.sh"
export SENDCOM=YES

export COMINsyn=${COMINsyn:-$(compath.py gfs/prod/syndat)}
if [ $machine = "HERA" ]; then
export COMINsyn="${COMROOT}/arch/prod/syndat"
fi
export COMINsyn=${COMINsyn:-${COMROOT}/gfs/prod/syndat}

export HOMERELO=$HOMEgfs
export EXECRELO=${HOMERELO}/exec
Expand Down
8 changes: 6 additions & 2 deletions parm/config/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ elif [ $step = "eupd" ]; then

export wtime_eupd="00:30:00"
if [ $CASE = "C768" ]; then
export npe_eupd=960
export npe_eupd=480
export nth_eupd=6
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then
export nth_eupd=7
Expand Down Expand Up @@ -355,7 +355,11 @@ elif [ $step = "esfc" ]; then

elif [ $step = "efcs" ]; then

export wtime_efcs="00:40:00"
if [ $CASE = "C768" ]; then
export wtime_efcs="01:00:00"
else
export wtime_efcs="00:40:00"
fi
export npe_efcs=$(echo "$layout_x * $layout_y * 6" | bc)
export nth_efcs=${nth_fv3:-2}
export npe_node_efcs=$(echo "$npe_node_max / $nth_efcs" | bc)
Expand Down
5 changes: 0 additions & 5 deletions parm/config/config.vrfy
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ if [ "$VRFYTRAK" = "YES" ]; then
export FHOUT_CYCLONE=6
export FHMAX_CYCLONE=$(( FHMAX_GFS<240 ? FHMAX_GFS : 240 ))
fi
if [ $machine = "HERA" ]; then
export COMROOT="/scratch1/NCEPDEV/global/glopara/com"
elif [ $machine = "ORION" ]; then
export COMROOT="/work/noaa/global/glopara/com"
fi
export COMINsyn=${COMINsyn:-${COMROOT}/gfs/prod/syndat}
fi

Expand Down
329 changes: 329 additions & 0 deletions parm/parm_fv3diag/diag_table_da_gsd

Large diffs are not rendered by default.

329 changes: 329 additions & 0 deletions parm/parm_fv3diag/diag_table_gsd

Large diffs are not rendered by default.

344 changes: 344 additions & 0 deletions parm/parm_fv3diag/diag_table_gsd_ruc

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions parm/parm_fv3diag/field_table_gsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# added by FRE: sphum must be present in atmos
# specific humidity for moist runs
"TRACER", "atmos_mod", "sphum"
"longname", "specific humidity"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=3.e-6" /
# prognostic cloud water mixing ratio
"TRACER", "atmos_mod", "liq_wat"
"longname", "cloud water mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic ice water mixing ratio
"TRACER", "atmos_mod", "ice_wat"
"longname", "cloud ice mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic rain water mixing ratio
"TRACER", "atmos_mod", "rainwat"
"longname", "rain water mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic snow water mixing ratio
"TRACER", "atmos_mod", "snowwat"
"longname", "snow water mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic Grau water mixing ratio
"TRACER", "atmos_mod", "graupel"
"longname", "graupel mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic cloud water number concentration
"TRACER", "atmos_mod", "water_nc"
"longname", "cloud liquid water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic cloud ice number concentration
"TRACER", "atmos_mod", "ice_nc"
"longname", "cloud ice water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic rain number concentration
"TRACER", "atmos_mod", "rain_nc"
"longname", "rain number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic ozone mixing ratio tracer
"TRACER", "atmos_mod", "o3mr"
"longname", "ozone mixing ratio"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
# water- and ice-friendly aerosols (Thompson)
"TRACER", "atmos_mod", "liq_aero"
"longname", "water-friendly aerosol number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
"TRACER", "atmos_mod", "ice_aero"
"longname", "ice-friendly aerosol number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=0.0" /
# prognostic subgrid scale turbulent kinetic energy
"TRACER", "atmos_mod", "sgs_tke"
"longname", "subgrid scale turbulent kinetic energy"
"units", "m2/s2"
"profile_type", "fixed", "surface_value=1.e30" /
46 changes: 44 additions & 2 deletions scripts/exglobal_forecast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ NTASKS_FV3=${NTASKS_FV3:-$npe_fv3}

TYPE=${TYPE:-"nh"} # choices: nh, hydro
MONO=${MONO:-"non-mono"} # choices: mono, non-mono
RUN_CCPP=${RUN_CCPP:-"NO"}

QUILTING=${QUILTING:-".true."}
OUTPUT_GRID=${OUTPUT_GRID:-"gaussian_grid"}
Expand Down Expand Up @@ -726,6 +727,16 @@ fi
$NCP $DATA_TABLE data_table
$NCP $FIELD_TABLE field_table

# copy CCN_ACTIVATE.BIN for Thompson microphysics
if [ $RUN_CCPP = "YES" ]; then
if [ "$CCPP_SUITE" = 'FV3_GSD_v0' -o "$CCPP_SUITE" = 'FV3_GSD_noah' ]; then
$NLN $FIX_AM/CCN_ACTIVATE.BIN CCN_ACTIVATE.BIN
$NLN $FIX_AM/freezeH2O.dat freezeH2O.dat
$NLN $FIX_AM/qr_acr_qg.dat qr_acr_qg.dat
$NLN $FIX_AM/qr_acr_qs.dat qr_acr_qs.dat
fi
fi

#------------------------------------------------------------------
rm -f nems.configure

Expand Down Expand Up @@ -859,6 +870,11 @@ EOF
# $coupler_nml
#/

atmos_model_nml=""
if [ $RUN_CCPP = "YES" ]; then
atmos_model_nml="ccpp_suite = $CCPP_SUITE"
fi

cat > input.nml <<EOF
&amip_interp_nml
interp_oi_sst = .true.
Expand Down Expand Up @@ -1019,8 +1035,6 @@ deflate_level=${deflate_level:-1}
iems = ${IEMS:-"1"}
iaer = $IAER
icliq_sw = ${icliq_sw:-"2"}
iovr_lw = ${iovr_lw:-"3"}
iovr_sw = ${iovr_sw:-"3"}
ico2 = $ICO2
isubc_sw = ${isubc_sw:-"2"}
isubc_lw = ${isubc_lw:-"2"}
Expand Down Expand Up @@ -1075,6 +1089,31 @@ deflate_level=${deflate_level:-1}
do_skeb = ${do_skeb:-".false."}
EOF

if [ $RUN_CCPP = "YES" ]; then
cat >> input.nml << EOF
iovr = ${iovr:-"3"}
ltaerosol = ${ltaerosol:-".false."}
lradar = ${lradar:-".false."}
ttendlim = ${ttendlim:-"0.005"}
oz_phys = ${oz_phys:-".false."}
oz_phys_2015 = ${oz_phys_2015:-".true."}
lsoil_lsm = ${lsoil_lsm:-"4"}
do_mynnedmf = ${do_mynnedmf:-".false."}
do_mynnsfclay = ${do_mynnsfclay:-".false."}
icloud_bl = ${icloud_bl:-"1"}
bl_mynn_edmf = ${bl_mynn_edmf:-"1"}
bl_mynn_tkeadvect = ${bl_mynn_tkeadvect:-".true."}
bl_mynn_edmf_mom = ${bl_mynn_edmf_mom:-"1"}
min_lakeice = ${min_lakeice:-"0.15"}
min_seaice = ${min_seaice:-"0.15"}
EOF
else
cat >> input.nml << EOF
iovr_lw = ${iovr_lw:-"3"}
iovr_sw = ${iovr_sw:-"3"}
EOF
fi

# Add namelist for IAU
if [ $DOIAU = "YES" ]; then
cat >> input.nml << EOF
Expand Down Expand Up @@ -1306,6 +1345,9 @@ else
done
fi

# Copy namelist file
$NCP input.nml $memdir

#------------------------------------------------------------------
# run the executable

Expand Down
13 changes: 13 additions & 0 deletions sorc/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ set +x
# Anything other than "true" will use libraries locally.
#------------------------------------

while getopts "c" option;
do
case $option in
c)
echo "Received -c flag, check out ufs-weather-model develop branch with CCPP physics"
RUN_CCPP="YES"
;;
esac
done



export USE_PREINST_LIBS="true"

#------------------------------------
Expand Down Expand Up @@ -60,6 +72,7 @@ echo " .... Library build not currently supported .... "
#------------------------------------
$Build_fv3gfs && {
echo " .... Building fv3 .... "
export RUN_CCPP=${RUN_CCPP:-"NO"}
./build_fv3.sh > $logs_dir/build_fv3.log 2>&1
rc=$?
if [[ $rc -ne 0 ]] ; then
Expand Down
10 changes: 8 additions & 2 deletions sorc/build_fv3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@ if [ $target = orion ]; then target=orion.intel ; fi
cd fv3gfs.fd/
FV3=$( pwd -P )/FV3
cd tests/
./compile.sh "$FV3" "$target" "WW3=Y 32BIT=Y" 1
mv -f fv3_1.exe ../NEMS/exe/global_fv3gfs.x

if [ ${RUN_CCPP:-${1:-"NO"}} = "NO" ]; then
./compile.sh "$FV3" "$target" "WW3=Y 32BIT=Y" 1
mv -f fv3_1.exe ../NEMS/exe/global_fv3gfs.x
else
./compile.sh "$target" "CCPP=Y 32BIT=Y SUITES=FV3_GFS_v15,FV3_GFS_v16beta" 2 NO NO
mv -f fv3_2.exe ../NEMS/exe/global_fv3gfs.x
fi
15 changes: 12 additions & 3 deletions sorc/checkout.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
#!/bin/sh
set -xue
#set -xue
set -x

while getopts "o" option;
while getopts "oc" option;
do
case $option in
o)
echo "Received -o flag for optional checkout of GTG, will check out GTG with EMC_post"
checkout_gtg="YES"
;;
c)
echo "Received -c flag, check out ufs-weather-model develop branch with CCPP physics"
run_ccpp="YES"
;;
:)
echo "option -$OPTARG needs an argument"
;;
Expand All @@ -26,7 +31,11 @@ if [[ ! -d fv3gfs.fd ]] ; then
rm -f ${topdir}/checkout-fv3gfs.log
git clone https://github.com/ufs-community/ufs-weather-model fv3gfs.fd >> ${topdir}/checkout-fv3gfs.log 2>&1
cd fv3gfs.fd
git checkout GFS.v16.0.14
if [ ${run_ccpp:-"NO"} = "NO" ]; then
git checkout GFS.v16.0.14
else
git checkout 2e25df5fe952d27355ed58963148f46b82565469
fi
git submodule update --init --recursive
cd ${topdir}
else
Expand Down
6 changes: 4 additions & 2 deletions sorc/partial_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@
echo "Usage: $0 [ALL|config=config_file|[select=][prog1[,prog2[,...]]]" 2>&1
exit 2
}
( [[ $1 == "-v" ]] || [[ ${1,,} == "--verbose" ]] ) && {
verbose=true
( [[ $1 == "-v" ]] || [[ ${1,,} == "--verbose" ]] || [[ $1 == "-c" ]] ) && {
if [[ $1 == "-v" ]]; then
verbose=true
fi
num_arg=0
} || {
echo "Usage: $0 [ALL|config=config_file|[select=][prog1[,prog2[,...]]]" 2>&1
Expand Down
1 change: 1 addition & 0 deletions ush/rocoto/setup_expt.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def edit_baseconfig():
base_svn = '/work/noaa/global/glopara/svn'
dmpdir = '/work/noaa/global/glopara/dump'
nwprod = '/work/noaa/global/glopara/nwpara'
comroot = '/work/noaa/global/glopara/com'
homedir = '/work/noaa/global/$USER'
stmp = '/work/noaa/stmp/$USER'
ptmp = '/work/noaa/stmp/$USER'
Expand Down
1 change: 1 addition & 0 deletions ush/rocoto/setup_expt_fcstonly.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def edit_baseconfig():
base_svn = '/work/noaa/global/glopara/svn'
dmpdir = '/work/noaa/global/glopara/dump'
nwprod = '/work/noaa/global/glopara/nwpara'
comroot = '/work/noaa/global/glopara/com'
homedir = '/work/noaa/global/$USER'
stmp = '/work/noaa/stmp/$USER'
ptmp = '/work/noaa/stmp/$USER'
Expand Down