From a6b1d7063174ce125cd331aa179477465d8085d0 Mon Sep 17 00:00:00 2001 From: Nick Szapiro Date: Fri, 17 May 2024 20:00:49 +0000 Subject: [PATCH] Example ds2s suite --- tests/parm/ufs.configure.s2s.IN | 14 +++++ tests/rt.conf | 2 + tests/tests/cpld_s2s_histaux_p8 | 105 ++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+) create mode 100644 tests/tests/cpld_s2s_histaux_p8 diff --git a/tests/parm/ufs.configure.s2s.IN b/tests/parm/ufs.configure.s2s.IN index 3efa42e6fe..de5ee38240 100644 --- a/tests/parm/ufs.configure.s2s.IN +++ b/tests/parm/ufs.configure.s2s.IN @@ -93,6 +93,20 @@ MED_attributes:: coupling_mode = @[CPLMODE] pio_rearranger = @[pio_rearranger] ocean_albedo_limit = @[ocean_albedo_limit] + histaux_ice2med_file1_auxname = ice.ncpl.inst + histaux_ice2med_file1_doavg = .false. + histaux_ice2med_file1_enabled = .true. + histaux_ice2med_file1_flds = all + histaux_ice2med_file1_history_n = 1 + histaux_ice2med_file1_history_option = nsteps + histaux_ice2med_file1_ntperfile = 1 + histaux_ocn2med_file1_auxname = ocn.ncpl.inst + histaux_ocn2med_file1_doavg = .false. + histaux_ocn2med_file1_enabled = .true. + histaux_ocn2med_file1_flds = all + histaux_ocn2med_file1_history_n = 1 + histaux_ocn2med_file1_history_option = nsteps + histaux_ocn2med_file1_ntperfile = 1 :: ALLCOMP_attributes:: diff --git a/tests/rt.conf b/tests/rt.conf index a486a2b583..382f7c982c 100644 --- a/tests/rt.conf +++ b/tests/rt.conf @@ -297,6 +297,8 @@ RUN | datm_cdeps_lnd_era5 | - wcoss2 RUN | datm_cdeps_lnd_era5_rst | - wcoss2 noaacloud | | datm_cdeps_lnd_era5 ### AMIP+ tests ### +COMPILE | s2s | intel | -DAPP=S2S -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + hera hercules | fv3 | +RUN | cpld_s2s_histaux_p8 | - wcoss2 acorn noaacloud | baseline | COMPILE | atm_ds2s_docn_dice | intel | -DAPP=ATM_DS2S -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | | fv3 | RUN | atm_ds2s_docn_dice | - wcoss2 acorn noaacloud | baseline | COMPILE | atm_ds2s_docn_pcice | intel | -DAPP=ATM_DS2S-PCICE -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | | fv3 | diff --git a/tests/tests/cpld_s2s_histaux_p8 b/tests/tests/cpld_s2s_histaux_p8 new file mode 100644 index 0000000000..2e9b00210b --- /dev/null +++ b/tests/tests/cpld_s2s_histaux_p8 @@ -0,0 +1,105 @@ +# +# cpld_s2s_histaux_p8 test +# + +export TEST_DESCR="Fully coupled FV3-CCPP-MOM6-CICE-CMEPS system with histaux output - C96MX100" + +export CNTL_DIR=cpld_s2s_histaux_p8 + +export LIST_FILES="sfcf021.tile1.nc \ + sfcf021.tile2.nc \ + sfcf021.tile3.nc \ + sfcf021.tile4.nc \ + sfcf021.tile5.nc \ + sfcf021.tile6.nc \ + atmf021.tile1.nc \ + atmf021.tile2.nc \ + atmf021.tile3.nc \ + atmf021.tile4.nc \ + atmf021.tile5.nc \ + atmf021.tile6.nc \ + sfcf024.tile1.nc \ + sfcf024.tile2.nc \ + sfcf024.tile3.nc \ + sfcf024.tile4.nc \ + sfcf024.tile5.nc \ + sfcf024.tile6.nc \ + atmf024.tile1.nc \ + atmf024.tile2.nc \ + atmf024.tile3.nc \ + atmf024.tile4.nc \ + atmf024.tile5.nc \ + atmf024.tile6.nc \ + RESTART/20210323.060000.coupler.res \ + RESTART/20210323.060000.fv_core.res.nc \ + RESTART/20210323.060000.fv_core.res.tile1.nc \ + RESTART/20210323.060000.fv_core.res.tile2.nc \ + RESTART/20210323.060000.fv_core.res.tile3.nc \ + RESTART/20210323.060000.fv_core.res.tile4.nc \ + RESTART/20210323.060000.fv_core.res.tile5.nc \ + RESTART/20210323.060000.fv_core.res.tile6.nc \ + RESTART/20210323.060000.fv_srf_wnd.res.tile1.nc \ + RESTART/20210323.060000.fv_srf_wnd.res.tile2.nc \ + RESTART/20210323.060000.fv_srf_wnd.res.tile3.nc \ + RESTART/20210323.060000.fv_srf_wnd.res.tile4.nc \ + RESTART/20210323.060000.fv_srf_wnd.res.tile5.nc \ + RESTART/20210323.060000.fv_srf_wnd.res.tile6.nc \ + RESTART/20210323.060000.fv_tracer.res.tile1.nc \ + RESTART/20210323.060000.fv_tracer.res.tile2.nc \ + RESTART/20210323.060000.fv_tracer.res.tile3.nc \ + RESTART/20210323.060000.fv_tracer.res.tile4.nc \ + RESTART/20210323.060000.fv_tracer.res.tile5.nc \ + RESTART/20210323.060000.fv_tracer.res.tile6.nc \ + RESTART/20210323.060000.phy_data.tile1.nc \ + RESTART/20210323.060000.phy_data.tile2.nc \ + RESTART/20210323.060000.phy_data.tile3.nc \ + RESTART/20210323.060000.phy_data.tile4.nc \ + RESTART/20210323.060000.phy_data.tile5.nc \ + RESTART/20210323.060000.phy_data.tile6.nc \ + RESTART/20210323.060000.sfc_data.tile1.nc \ + RESTART/20210323.060000.sfc_data.tile2.nc \ + RESTART/20210323.060000.sfc_data.tile3.nc \ + RESTART/20210323.060000.sfc_data.tile4.nc \ + RESTART/20210323.060000.sfc_data.tile5.nc \ + RESTART/20210323.060000.sfc_data.tile6.nc \ + RESTART/20210323.060000.MOM.res.nc \ + RESTART/iced.2021-03-23-21600.nc \ + RESTART/ufs.cpld.cpl.r.2021-03-23-21600.nc" + +#TODO: add comparison of CA restart files? + +export_fv3 +export_cpl + +export RESTART_N=12 +export RESTART_INTERVAL="${RESTART_N} -1" +export OUTPUT_FH='0 21 24' + +export INPES=$INPES_cpl_dflt +export JNPES=$JNPES_cpl_dflt +export atm_omp_num_threads=1 +export WRTTASK_PER_GROUP=$WPG_cpl_dflt + +OCN_tasks=$OCN_tasks_cpl_dflt +ICE_tasks=$ICE_tasks_cpl_dflt +export WAV_tasks=0 + +export CICE_NPROC=$ICE_tasks +export np2=`expr $CICE_NPROC / 2` +export CICE_BLCKX=`expr $NX_GLB / $np2` +export CICE_BLCKY=`expr $NY_GLB / 2` + +export CPLWAV=.false. +export CPLWAV2ATM=.false. +export MOM6_USE_WAVES=False +export eps_imesh=2.5e-1 + +export CPLCHM=.false. +export DNATS=0 +export MOM6_TOPOEDITS=ufs.topo_edits_011818.nc +export MOM6_ALLOW_LANDMASK_CHANGES=True + +export DIAG_TABLE=diag_table_template +export UFS_CONFIGURE=ufs.configure.s2s.IN + +export FV3_RUN=cpld_control_run.IN