Skip to content

Commit

Permalink
Changes for compiling with Rocky8 OS
Browse files Browse the repository at this point in the history
  Updated config.fcst: keep dt_inner to half of physics timestep if running aerosol-aware Thompson microphysics
  • Loading branch information
jkhender committed Mar 19, 2024
1 parent 484a18d commit 82a7fd6
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 24 deletions.
28 changes: 15 additions & 13 deletions parm/config/gfs/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fi

# PBL/turbulence schemes
export hybedmf=".false."
if [[ "$CCPP_SUITE" == "FV3_GFS_v17_p8_ugwpv1_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_c3_mynn" ]] ; then
if [[ "$CCPP_SUITE" == "FV3_GFS_v17_p8_ugwpv1_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_ugwpv1_c3_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_c3_mynn" ]] ; then
export satmedmf=".false."
export isatmedmf=0
export shal_cnv=".false."
Expand Down Expand Up @@ -163,7 +163,7 @@ export iopt_trs="2"

# Convection Options: 2-SASAS, 3-GF
export progsigma=".true."
if [[ "$CCPP_SUITE" == "FV3_GFS_v17_p8_c3_mynn" ]] ; then
if [[ "$CCPP_SUITE" == "FV3_GFS_v17_p8_c3_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_ugwpv1_c3_mynn" ]] ; then
export imfdeepcnv=5
export imfshalcnv=-1 ## JKH - no shallow GF
elif [[ "$CCPP_SUITE" == "FV3_GFS_v17_p8_ugwpv1_c3" ]] ; then
Expand Down Expand Up @@ -211,25 +211,27 @@ case ${imp_physics} in
export ncld=2
export nwat=6

if [[ "$CCPP_SUITE" == "FV3_GFS_v17_p8_ugwpv1_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_mynn" || "$CCPP_SUITE" == "FV3_GFS_v17_p8_c3_mynn" ||
"$CCPP_SUITE" == "FV3_GFS_v17_p8_thompson" ]] ; then
export ltaerosol=".true."
export FIELD_TABLE="${HOMEgfs}/parm/ufs/fv3/field_table_thompson_aero_tke${tbp}"
else
export ltaerosol=".false."
export FIELD_TABLE="${HOMEgfs}/parm/ufs/fv3/field_table_thompson_noaero_tke${tbp}"
fi

export cal_pre=".false."
export random_clds=".false."
export effr_in=".true."
export lradar=".true."
export ttendlim="-999"
export dt_inner=$((DELTIM/2))
export sedi_semi=.true.
if [[ "${sedi_semi}" == .true. ]]; then export dt_inner=${DELTIM} ; fi
export decfl=10

if [[ "${CCPP_SUITE}" == "FV3_GFS_v17_p8_ugwpv1_mynn" || "${CCPP_SUITE}" == "FV3_GFS_v17_p8_ugwpv1_c3_mynn" || "${CCPP_SUITE}" == "FV3_GFS_v17_p8_mynn" || "${CCPP_SUITE}" == "FV3_GFS_v17_p8_c3_mynn" ||
"${CCPP_SUITE}" == "FV3_GFS_v17_p8_thompson" ]] ; then
#JKH keep dt_inner $DELTIM/2 (75) if running aerosol-aware Thompson
export dt_inner=$((DELTIM/2))
export ltaerosol=".true."
export FIELD_TABLE="${HOMEgfs}/parm/ufs/fv3/field_table_thompson_aero_tke${tbp}"
else
export dt_inner=$((DELTIM/2))
if [[ "${sedi_semi}" == .true. ]]; then export dt_inner=${DELTIM} ; fi
export ltaerosol=".false."
export FIELD_TABLE="${HOMEgfs}/parm/ufs/fv3/field_table_thompson_noaero_tke${tbp}"
fi

export hord_mt_nh_nonmono=5
export hord_xx_nh_nonmono=5
export vtdm4_nh_nonmono=0.02
Expand Down
2 changes: 2 additions & 0 deletions versions/build.hera.ver
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
export spack_env=gsi-addon-dev
source "${HOMEgfs:-}/versions/build.spack.ver"
export spack_mod_path="/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-${spack_stack_ver}/envs/${spack_env}/install/modulefiles/Core"
8 changes: 4 additions & 4 deletions versions/build.spack.ver
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export spack_stack_ver=1.5.1
export spack_env=gsi-addon

export cmake_ver=3.23.1
export cmake_ver=3.28.1

export jasper_ver=2.0.32
export libpng_ver=1.6.37
Expand All @@ -11,18 +11,18 @@ export fms_ver=2023.02.01

export hdf5_ver=1.14.0
export netcdf_c_ver=4.9.2
export netcdf_fortran_ver=4.6.0
export netcdf_fortran_ver=4.6.1

export bacio_ver=2.4.1
export nemsio_ver=2.5.4
export sigio_ver=2.3.2
export w3emc_ver=2.10.0
export bufr_ver=11.7.0
export g2_ver=3.4.5
export sp_ver=2.3.3
export sp_ver=2.5.0
export ip_ver=4.3.0
export gsi_ncdiag_ver=1.1.2
export g2tmpl_ver=1.10.2
export crtm_ver=2.4.0
export crtm_ver=2.4.0.1
export wgrib2_ver=2.0.8
export grib_util_ver=1.3.0
6 changes: 2 additions & 4 deletions versions/run.hera.ver
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
export spack_env=gsi-addon-dev

export hpss_ver=hpss
export ncl_ver=6.6.2
export R_ver=3.5.0
export gempak_ver=7.4.2

#For metplus jobs, not currently working with spack-stack
#export met_ver=9.1.3
#export metplus_ver=3.1.1

source "${HOMEgfs:-}/versions/run.spack.ver"
export spack_mod_path="/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-${spack_stack_ver}/envs/${spack_env}/install/modulefiles/Core"
18 changes: 18 additions & 0 deletions workflow/c3_mynn_ugwpv1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
USER=Judy.K.Henderson
GITDIR=/scratch1/BMC/gsd-fv3-dev/jhender/test/test_gsl_ufs_dev_29jan24_rocky8/ ## where your git checkout is located
COMROT=${GITDIR}/FV3GFSrun ## default COMROT directory
EXPDIR=${GITDIR}/FV3GFSwfm ## default EXPDIR directory
#ICSDIR=/scratch1/BMC/gsd-fv3/rtruns/FV3ICS_L127

PSLOT=c3_mynn
IDATE=2024031100
EDATE=2024031100
RESDET=768 ## 96 192 384 768

### gfs_cyc 1 00Z only; gfs_cyc 2 00Z and 12Z

./setup_expt.py gfs forecast-only --pslot "${PSLOT}" --gfs_cyc 1 \
--idate "${IDATE}" --edate "${EDATE}" --resdetatmos "${RESDET}" \
--comroot "${COMROT}" --expdir "${EXPDIR}"

6 changes: 3 additions & 3 deletions workflow/mynn_ugwpv1.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
USER=Judy.K.Henderson
GITDIR=/scratch1/BMC/gsd-fv3-dev/jhender/test/gsl_ufs_dev/ ## where your git checkout is located
GITDIR=/scratch1/BMC/gsd-fv3-dev/jhender/test/test_gsl_ufs_dev_29jan24_rocky8/ ## where your git checkout is located
COMROT=${GITDIR}/FV3GFSrun ## default COMROT directory
EXPDIR=${GITDIR}/FV3GFSwfm ## default EXPDIR directory
#ICSDIR=/scratch1/BMC/gsd-fv3/rtruns/FV3ICS_L127

PSLOT=mynn
IDATE=2023112800
EDATE=2023112800
IDATE=2024031100
EDATE=2024031100
RESDET=768 ## 96 192 384 768

### gfs_cyc 1 00Z only; gfs_cyc 2 00Z and 12Z
Expand Down

0 comments on commit 82a7fd6

Please sign in to comment.