Skip to content

Commit

Permalink
Update CICE; add CMEPS fix for GNU and turn on cpld test for GNU; upd…
Browse files Browse the repository at this point in the history
…ate 35d scripts from P7a mini-release (#610)


* Updates CICE and Icepack 
* Updates the ice_in_template for changes due to the time manager update
* Updates ice_in_template to remove many unused settings; sets tr_FY false
* Fixes unitialized AccumCnts in CMEPS and turns on coupled GNU tests in rt_gnu.conf
* Updates 35d scripts to adjust tasking and add in-line post
  • Loading branch information
DeniseWorthen authored Jun 4, 2021
1 parent 2c882f0 commit bebdd6d
Show file tree
Hide file tree
Showing 18 changed files with 2,924 additions and 2,925 deletions.
2 changes: 1 addition & 1 deletion CICE-interface/CICE
Submodule CICE updated 143 files
2 changes: 1 addition & 1 deletion CMEPS-interface/CMEPS
286 changes: 199 additions & 87 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

674 changes: 337 additions & 337 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

656 changes: 328 additions & 328 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

292 changes: 202 additions & 90 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

680 changes: 340 additions & 340 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

708 changes: 323 additions & 385 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

1,180 changes: 597 additions & 583 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

338 changes: 169 additions & 169 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

697 changes: 362 additions & 335 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions tests/edit_inputs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ set -eu

function edit_ice_in {

jday=$(date -d "${SYEAR}-${SMONTH}-${SDAY} ${SHOUR}:00:00" +%j)
istep0=$(( ((10#$jday-1)*86400 + 10#$SHOUR*3600) / DT_CICE ))

# assumes processor shape = "slenderX2"
np2=$((NPROC_ICE/2))
BLCKX=$((NX_GLB/$np2))
BLCKY=$((NY_GLB/2))

sed -e "s/YEAR_INIT/$SYEAR/g" \
-e "s/ISTEP0/$istep0/g" \
-e "s/MONTH_INIT/$SMONTH/g" \
-e "s/DAY_INIT/$SDAY/g" \
-e "s/DT_CICE/$DT_CICE/g" \
-e "s/CICEGRID/$CICEGRID/g" \
-e "s/CICEMASK/$CICEMASK/g" \
Expand Down Expand Up @@ -57,11 +55,11 @@ function edit_diag_table {
-e "s/SDAY/$SDAY/g"
}

function edit_ww3_input {
function edit_ww3_input {

SDATEWW3="${SYEAR}${SMONTH}${SDAY} $(printf "%02d" $(( ${SHOUR} )))0000"
EDATEWW3="2100${SMONTH}${SDAY} $(printf "%02d" $(( ${SHOUR} )))0000"
#note EDATE should be SDATE+FHMAX, but since this requires adding ndate
#note EDATE should be SDATE+FHMAX, but since this requires adding ndate
#a work around is to just put a date long in the future as the actual end time is
#determined by the driver
DT_2_RST_WAV="$(printf "%02d" $(( ${WW3RSTDTHR}*3600 )))"
Expand Down Expand Up @@ -97,5 +95,5 @@ function edit_ww3_input {
-e "s/DTRST/0/g" \
-e "s/DT_2_RST/$DT_2_RST_WAV/g" \
-e "s/RST_END/$EDATEWW3/g" \
-e "s/RST_2_END/$EDATEWW3/g"
-e "s/RST_2_END/$EDATEWW3/g"
}
8 changes: 8 additions & 0 deletions tests/fv3_conf/cpld_bmark_tiled_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,11 @@ else
cp ../${DEP_RUN}${RT_SUFFIX}/RESTART/${RFILE} ./INPUT
ls -1 "./INPUT/"${RFILE}>ice.restart_file
fi

#inline post
if [ $WRITE_DOPOST = .true. ]; then
cp ${PATHRT}/parm/post_itag itag
cp ${PATHRT}/parm/postxconfig-NT.txt postxconfig-NT.txt
cp ${PATHRT}/parm/postxconfig-NT_FH00.txt postxconfig-NT_FH00.txt
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
fi
243 changes: 6 additions & 237 deletions tests/parm/ice_in_template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
days_per_year = 365
use_leap_years = .true.
year_init = YEAR_INIT
istep0 = ISTEP0
month_init = MONTH_INIT
day_init = DAY_INIT
dt = DT_CICE
npt = 999
ndtd = 1
Expand Down Expand Up @@ -32,7 +33,6 @@
lonpnt(1) = 0.
latpnt(2) = -65.
lonpnt(2) = -45.
dbug = .false.
histfreq = 'm','d','h','x','x'
histfreq_n = 0 , 0 , 6 , 1 , 1
hist_avg = CICE_HIST_AVG
Expand All @@ -49,7 +49,6 @@
grid_type = 'tripole'
grid_file = 'CICEGRID'
kmt_file = 'CICEMASK'
use_bathymetry = .false.
kcatbound = 0
ncat = 5
nfsd = 1
Expand All @@ -60,17 +59,9 @@
/

&tracer_nml
n_aero = 0
n_zaero = 0
n_algae = 0
n_doc = 0
n_dic = 0
n_don = 0
n_fed = 0
n_fep = 0
tr_iage = .true.
restart_age = .false.
tr_FY = .true.
tr_FY = .false.
restart_FY = .false.
tr_lvl = .true.
restart_lvl = .false.
Expand Down Expand Up @@ -161,28 +152,6 @@
l_mpond_fresh = .false.
tfrz_option = 'linear_salt'
restart_coszen = .true.
oceanmixed_ice = .false.
wave_spec_type = 'none'
wave_spec_file = 'unknown_wave_spec_file'
nfreq = 25
restore_ice = .false.
restore_ocn = .false.
trestore = 90
precip_units = 'mm_per_month'
default_season = 'winter'
atm_data_type = 'ncar'
ocn_data_type = 'default'
bgc_data_type = 'default'
fe_data_type = 'default'
ice_data_type = 'default'
fyear_init = 1997
ycycle = 1
atm_data_format = 'nc'
atm_data_dir = './INPUT/gx3_forcing_fields.nc'
bgc_data_dir = 'unknown_bgc_data_dir'
ocn_data_format = 'bin'
ocn_data_dir = '/unknown_ocn_data_dir'
oceanmixed_file = 'unknown_oceanmixed_file'
/

&domain_nml
Expand All @@ -203,152 +172,6 @@
/

&zbgc_nml
tr_brine = .false.
restart_hbrine = .false.
tr_zaero = .false.
modal_aero = .false.
skl_bgc = .false.
z_tracers = .false.
dEdd_algae = .false.
solve_zbgc = .false.
bgc_flux_type = 'Jin2006'
restore_bgc = .false.
restart_bgc = .false.
scale_bgc = .false.
solve_zsal = .false.
restart_zsal = .false.
tr_bgc_Nit = .true.
tr_bgc_C = .true.
tr_bgc_chl = .false.
tr_bgc_Am = .true.
tr_bgc_Sil = .true.
tr_bgc_DMS = .false.
tr_bgc_PON = .true.
tr_bgc_hum = .true.
tr_bgc_DON = .false.
tr_bgc_Fe = .true.
grid_o = 0.006
grid_o_t = 0.006
l_sk = 0.024
grid_oS = 0.0
l_skS = 0.028
phi_snow = -0.3
initbio_frac = 0.8
frazil_scav = 0.8
ratio_Si2N_diatoms = 1.8
ratio_Si2N_sp = 0.0
ratio_Si2N_phaeo = 0.0
ratio_S2N_diatoms = 0.03
ratio_S2N_sp = 0.03
ratio_S2N_phaeo = 0.03
ratio_Fe2C_diatoms = 0.0033
ratio_Fe2C_sp = 0.0033
ratio_Fe2C_phaeo = 0.1
ratio_Fe2N_diatoms = 0.023
ratio_Fe2N_sp = 0.023
ratio_Fe2N_phaeo = 0.7
ratio_Fe2DON = 0.023
ratio_Fe2DOC_s = 0.1
ratio_Fe2DOC_l = 0.033
fr_resp = 0.05
tau_min = 5200.0
tau_max = 173000.0
algal_vel = 0.0000000111
R_dFe2dust = 0.035
dustFe_sol = 0.005
chlabs_diatoms = 0.03
chlabs_sp = 0.01
chlabs_phaeo = 0.05
alpha2max_low_diatoms = 0.8
alpha2max_low_sp = 0.67
alpha2max_low_phaeo = 0.67
beta2max_diatoms = 0.018
beta2max_sp = 0.0025
beta2max_phaeo = 0.01
mu_max_diatoms = 1.44
mu_max_sp = 0.851
mu_max_phaeo = 0.851
grow_Tdep_diatoms = 0.06
grow_Tdep_sp = 0.06
grow_Tdep_phaeo = 0.06
fr_graze_diatoms = 0.0
fr_graze_sp = 0.1
fr_graze_phaeo = 0.1
mort_pre_diatoms = 0.007
mort_pre_sp = 0.007
mort_pre_phaeo = 0.007
mort_Tdep_diatoms = 0.03
mort_Tdep_sp = 0.03
mort_Tdep_phaeo = 0.03
k_exude_diatoms = 0.0
k_exude_sp = 0.0
k_exude_phaeo = 0.0
K_Nit_diatoms = 1.0
K_Nit_sp = 1.0
K_Nit_phaeo = 1.0
K_Am_diatoms = 0.3
K_Am_sp = 0.3
K_Am_phaeo = 0.3
K_Sil_diatoms = 4.0
K_Sil_sp = 0.0
K_Sil_phaeo = 0.0
K_Fe_diatoms = 1.0
K_Fe_sp = 0.2
K_Fe_phaeo = 0.1
f_don_protein = 0.6
kn_bac_protein = 0.03
f_don_Am_protein = 0.25
f_doc_s = 0.4
f_doc_l = 0.4
f_exude_s = 1.0
f_exude_l = 1.0
k_bac_s = 0.03
k_bac_l = 0.03
T_max = 0.0
fsal = 1.0
op_dep_min = 0.1
fr_graze_s = 0.5
fr_graze_e = 0.5
fr_mort2min = 0.5
fr_dFe = 0.3
k_nitrif = 0.0
t_iron_conv = 3065.0
max_loss = 0.9
max_dfe_doc1 = 0.2
fr_resp_s = 0.75
y_sk_DMS = 0.5
t_sk_conv = 3.0
t_sk_ox = 10.0
algaltype_diatoms = 0.0
algaltype_sp = 0.5
algaltype_phaeo = 0.5
nitratetype = -1.0
ammoniumtype = 1.0
silicatetype = -1.0
dmspptype = 0.5
dmspdtype = -1.0
humtype = 1.0
doctype_s = 0.5
doctype_l = 0.5
dontype_protein = 0.5
fedtype_1 = 0.5
feptype_1 = 0.5
zaerotype_bc1 = 1.0
zaerotype_bc2 = 1.0
zaerotype_dust1 = 1.0
zaerotype_dust2 = 1.0
zaerotype_dust3 = 1.0
zaerotype_dust4 = 1.0
ratio_C2N_diatoms = 7.0
ratio_C2N_sp = 7.0
ratio_C2N_phaeo = 7.0
ratio_chl2N_diatoms= 2.1
ratio_chl2N_sp = 1.1
ratio_chl2N_phaeo = 0.84
F_abs_chl_diatoms = 2.0
F_abs_chl_sp = 4.0
F_abs_chl_phaeo = 5.0
ratio_C2N_proteins = 7.0
/

&icefields_nml
Expand Down Expand Up @@ -464,8 +287,8 @@
f_daidtd = 'x'
f_dagedtt = 'x'
f_dagedtd = 'x'
f_mlt_onset = 'mdhxx'
f_frz_onset = 'mdhxx'
f_mlt_onset = 'x'
f_frz_onset = 'x'
f_hisnap = 'x'
f_aisnap = 'x'
f_trsig = 'x'
Expand Down Expand Up @@ -523,65 +346,11 @@
f_apeff_ai = 'x'
/

&icefields_bgc_nml
f_faero_atm = 'x'
f_faero_ocn = 'x'
f_aero = 'x'
f_fbio = 'x'
f_fbio_ai = 'x'
f_zaero = 'x'
f_bgc_S = 'x'
f_bgc_N = 'x'
f_bgc_C = 'x'
f_bgc_DOC = 'x'
f_bgc_DIC = 'x'
f_bgc_chl = 'x'
f_bgc_Nit = 'x'
f_bgc_Am = 'x'
f_bgc_Sil = 'x'
f_bgc_DMSPp = 'x'
f_bgc_DMSPd = 'x'
f_bgc_DMS = 'x'
f_bgc_DON = 'x'
f_bgc_Fe = 'x'
f_bgc_hum = 'x'
f_bgc_PON = 'x'
f_bgc_ml = 'x'
f_upNO = 'x'
f_upNH = 'x'
f_bTin = 'x'
f_bphi = 'x'
f_iDi = 'x'
f_iki = 'x'
f_fbri = 'x'
f_hbri = 'x'
f_zfswin = 'x'
f_bionet = 'x'
f_biosnow = 'x'
f_grownet = 'x'
f_PPnet = 'x'
f_algalpeak = 'x'
f_zbgc_frac = 'x'
/

&icefields_drag_nml
f_drag = 'x'
f_Cdn_atm = 'x'
f_Cdn_ocn = 'x'
/

&icefields_fsd_nml
f_fsdrad = 'x'
f_fsdperim = 'x'
f_afsd = 'x'
f_afsdn = 'x'
f_dafsd_newi = 'x'
f_dafsd_latg = 'x'
f_dafsd_latm = 'x'
f_dafsd_wave = 'x'
f_dafsd_weld = 'x'
f_wave_sig_ht = 'x'
f_aice_ww = 'x'
f_diam_ww = 'x'
f_hice_ww = 'x'
&icefields_bgc_nml
/
2 changes: 1 addition & 1 deletion tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ if [[ $TESTS_FILE =~ '35d' ]]; then
TEST_35D=true
fi

BL_DATE=20210528
BL_DATE=20210603
if [[ $MACHINE_ID = hera.* ]] || [[ $MACHINE_ID = orion.* ]] || [[ $MACHINE_ID = cheyenne.* ]] || [[ $MACHINE_ID = gaea.* ]] || [[ $MACHINE_ID = jet.* ]]; then
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-${BL_DATE}/${RT_COMPILER^^}}
else
Expand Down
4 changes: 2 additions & 2 deletions tests/rt_gnu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ RUN | fv3_esg_HAFS_v0_hwrf_thompson_debug
##################################################################################################################################################################

COMPILE | APP=S2S SUITES=FV3_GFS_2017_coupled,FV3_GFS_2017_satmedmf_coupled,FV3_GFS_v15p2_coupled | | fv3 |
#RUN | cpld_controlfrac | | fv3 |
RUN | cpld_controlfrac | | fv3 |

COMPILE | APP=S2S SUITES=FV3_GFS_2017_coupled,FV3_GFS_2017_satmedmf_coupled,FV3_GFS_v15p2_coupled DEBUG=Y | | fv3 |
#RUN | cpld_debugfrac | | fv3 |
RUN | cpld_debugfrac | | fv3 |

##################################################################################################################################################################
# Data Atmosphere tests #
Expand Down
Loading

0 comments on commit bebdd6d

Please sign in to comment.