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

Add active atmosphere applications with data ocn and data ice components (ATM_DS2S and ATM_DS2S-PCICE) and regression tests (atm_ds2s_docn_dice and atm_ds2s_docn_pcice) #2186

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
f0f4bd1
Change CDEPS fork in .gitmodules
NickSzapiro-NOAA Feb 13, 2024
60fb2b7
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Feb 13, 2024
bdbf0fe
Add dice to UFSDriver
NickSzapiro-NOAA Feb 22, 2024
09b6f02
Initial test case
NickSzapiro-NOAA Feb 28, 2024
792850b
Fix format of DICE line in User's Guide
NickSzapiro-NOAA Feb 28, 2024
65e9e6b
Rename CDEPS streams config files like for HAFS
NickSzapiro-NOAA Feb 29, 2024
d422f83
Remove buggy cd
NickSzapiro-NOAA Feb 29, 2024
783dc6e
Add S2SDATA application not to include MOM and CICE
NickSzapiro-NOAA Mar 1, 2024
8434b2e
First running configuration. Decide whether to trim MOM+CICE related …
NickSzapiro-NOAA Mar 5, 2024
ce8c2cc
Rename UFS application to ATM_DS2S
NickSzapiro-NOAA Mar 7, 2024
385b60d
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Mar 8, 2024
1819b87
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Mar 11, 2024
7307f88
Rename RT to align with atm_ds2s application name
NickSzapiro-NOAA Mar 11, 2024
bccd5a6
Continue renaming
NickSzapiro-NOAA Mar 11, 2024
68b4b24
Fix formatting in CodeOverview.rst to add DICE
NickSzapiro-NOAA Mar 12, 2024
bd444c1
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA Mar 12, 2024
afbb56e
Consistent ATM_DS2S name in configure_apps.cmake
NickSzapiro-NOAA Mar 14, 2024
4d1582e
Formatting CodeOverview.rst
NickSzapiro-NOAA Mar 14, 2024
3be2dbb
Restore default tests/parm/docn_in.IN
NickSzapiro-NOAA Mar 19, 2024
bc80d2a
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Mar 20, 2024
ef97092
Switch to CDEPS input files with multiple times for atm_ds2s_docn_dic…
NickSzapiro-NOAA Mar 20, 2024
a76c486
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Mar 30, 2024
9c57ac7
Remove old stream files from tests/tests/atm_ds2s_docn_dice
NickSzapiro-NOAA Mar 30, 2024
d04bdb0
Quote string and change units of sst_constant_value in tests/parm/glo…
NickSzapiro-NOAA Mar 30, 2024
d31576b
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Apr 2, 2024
261c1aa
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Apr 9, 2024
50adc9e
Add CICE ice prescribed configuration and regression test
NickSzapiro-NOAA Apr 11, 2024
326f558
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Apr 11, 2024
c3f60e5
Adjust MESH_DICE, eps_imesh, and CICE resolution environment variable…
NickSzapiro-NOAA Apr 12, 2024
7696b45
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Apr 16, 2024
aff77d1
Update .gitmodules for icePrescribed CICE branch
NickSzapiro-NOAA Apr 17, 2024
5b4bff3
Add cdeps paths to CICE-interface/CMakeLists.txt following cdeps in C…
NickSzapiro-NOAA Apr 17, 2024
69852d8
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA Apr 19, 2024
e71c968
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Apr 19, 2024
6d3634f
Troubleshooting conflicts in pio/pnetcdf with CDEPS and CICE
NickSzapiro-NOAA Apr 19, 2024
9cac7f0
Fix Linter errors in tests/run_test.sh
NickSzapiro-NOAA Apr 19, 2024
37f58f5
Back to PIO for CICE
NickSzapiro-NOAA Apr 23, 2024
92df055
Merge 'ufs-community/develop' into dice_cplhist
NickSzapiro-NOAA Apr 25, 2024
5551178
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA Apr 25, 2024
02e255f
Update CICE for dshr_pio_init call
NickSzapiro-NOAA Apr 25, 2024
df3de20
Try ERA5 sst,ice_cov. input_nml was renamed
NickSzapiro-NOAA Apr 26, 2024
162db3c
Update CICE hash
NickSzapiro-NOAA Apr 27, 2024
163cf11
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA May 1, 2024
282a58b
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA May 2, 2024
9ecadab
support nested runs in control_run.IN
SamuelTrahanNOAA May 2, 2024
cddf9b6
replace gnv1_nested with correct domain
SamuelTrahanNOAA May 2, 2024
70d0bf6
Add default .false. for NESTED variable.
SamuelTrahanNOAA May 2, 2024
4077468
Set stream_taxmode = 'extend' in ice_in_pcice.IN
NickSzapiro-NOAA May 2, 2024
375a6fc
Use double quotes
NickSzapiro-NOAA May 2, 2024
d8e5170
Update CICE hash
NickSzapiro-NOAA May 2, 2024
7fc69e6
No CICE restart for prescribed ice CICE
NickSzapiro-NOAA May 3, 2024
f5a4a7a
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA May 7, 2024
8bda628
new gnv1_nested runs on hera
SamuelTrahanNOAA May 9, 2024
4866f9a
smaller dt_atmos and correct some namelist values
SamuelTrahanNOAA May 9, 2024
280ef90
for testing purposes: the one and only affected regression test
SamuelTrahanNOAA May 9, 2024
42da0ad
Update CICE hash
NickSzapiro-NOAA May 13, 2024
f9362bf
Update CICE hash
NickSzapiro-NOAA May 14, 2024
051a4a0
Remove unused defs in CMakeLists.txt copied from cmeps
NickSzapiro-NOAA May 14, 2024
27cc45e
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA May 14, 2024
abfc27b
Update FV3 and MOM6
NickSzapiro-NOAA May 14, 2024
ac526a0
Update CDEPS
NickSzapiro-NOAA May 14, 2024
1f655e8
Update FV3 and MOM6 to current (no changes in these)
NickSzapiro-NOAA May 14, 2024
83f44ed
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA May 16, 2024
cab9a60
Fixes caught by gnu debug
NickSzapiro-NOAA May 16, 2024
9a75bd6
CICE needs CDEPS to compile now
NickSzapiro-NOAA May 16, 2024
68b936f
Move cice_cdeps_inline_files to cice_files.cmake
NickSzapiro-NOAA May 16, 2024
50da383
Use cice_cdeps_inline_files in CICE-interface/CMakeLists.txt
NickSzapiro-NOAA May 16, 2024
5e7b7f0
Need ice_prescribed_nml section in ice_in for CICE to know if prescri…
NickSzapiro-NOAA May 17, 2024
a6b1d70
Example ds2s suite
NickSzapiro-NOAA May 17, 2024
bc41d88
minor revisions for clarity and debugging
SamuelTrahanNOAA May 22, 2024
9c67f99
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA May 22, 2024
806d9b2
change full_zs_filter to .false. to get rid of Warn_K warnings; reduc…
SamuelTrahanNOAA May 24, 2024
7a7919f
Merge remote-tracking branch 'origin/develop' into new-gnv1-regtest
SamuelTrahanNOAA May 24, 2024
7064dbb
Merge branch 'ufs-community:develop' into dice_cplhist
NickSzapiro-NOAA May 26, 2024
23a7d64
Reduce tests by using pcice to make input data for dice
NickSzapiro-NOAA May 28, 2024
6eb9de6
Add export CICE_PRESCRIBED=false to export_cice6 in default_vars.sh. …
NickSzapiro-NOAA May 28, 2024
32a6c4d
Add MESH_DICE, stream_files_dice, and CICE_PRESCRIBED defaults to def…
NickSzapiro-NOAA May 28, 2024
76cae4f
RT cleanup
NickSzapiro-NOAA May 28, 2024
424e990
Define DICE_CDEPS in default_vars:export_cice6 too
NickSzapiro-NOAA May 28, 2024
42b886d
Tests pass on hera (RegressionTests_hera.log and test_changes.list)
NickSzapiro-NOAA May 29, 2024
33f4a19
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA May 29, 2024
9517fd1
Update input directory locations
NickSzapiro-NOAA May 29, 2024
c618f6d
Update input data directory for all machines
NickSzapiro-NOAA May 29, 2024
fb67a58
fill_zs_filter=.false. to avoid instability; forecast 3 hours now tha…
SamuelTrahanNOAA May 29, 2024
d3ed306
merge develop
SamuelTrahanNOAA May 29, 2024
61ff276
Merge remote-tracking branch 'origin/develop' into new-gnv1-regtest
SamuelTrahanNOAA May 29, 2024
1a9bc33
remove test conf file
SamuelTrahanNOAA May 29, 2024
31ecd2b
Use MESH_OCN in parm/global_docn.streams.IN
NickSzapiro-NOAA May 30, 2024
ad4f39c
namelist cleanup:
SamuelTrahanNOAA May 30, 2024
ac88fdc
CLAM_DEEP_NEST02
SamuelTrahanNOAA May 30, 2024
6b42c76
remove some unneeded variables from gnv1_nested
SamuelTrahanNOAA May 31, 2024
388eb99
remove more variables from gnv1_nested
SamuelTrahanNOAA May 31, 2024
f464943
remove cpl_imp_mrg
SamuelTrahanNOAA May 31, 2024
6aa26c9
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA Jun 3, 2024
f1ebbfd
Merge branch 'develop' into new-gnv1-regtest
SamuelTrahanNOAA Jun 3, 2024
1e53f9c
Faii_tau{x,y} in cplhist dice stream
NickSzapiro-NOAA Jun 4, 2024
212398c
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA Jun 5, 2024
b980e47
atm_ds2s_docn_dice dependent on cpld_control_nowave_noaero_p8
NickSzapiro-NOAA Jun 6, 2024
a46d527
Logs: tests "pass" on hera
NickSzapiro-NOAA Jun 7, 2024
b76f31a
Run ds2s tests on more platforms
NickSzapiro-NOAA Jun 7, 2024
b1b9149
Merge remote-tracking branch 'SamuelTrahanNOAA/new-gnv1-regtest' into…
NickSzapiro-NOAA Jun 7, 2024
6d36503
load nco in ufs_wcoss2.intel.lua as well
NickSzapiro-NOAA Jun 7, 2024
f9ff036
Merge branch 'develop' into dice_cplhist
NickSzapiro-NOAA Jun 7, 2024
69b4432
load("nco") for modulefiles/ufs_derecho*
NickSzapiro-NOAA Jun 8, 2024
b6d8bec
Update bl_date.conf
jkbk2004 Jun 10, 2024
b05325e
nco in tests/fv3_conf/cpld_docn_dice.IN rather than modulefiles
NickSzapiro-NOAA Jun 10, 2024
bb9effe
add hera RT log: passed
jkbk2004 Jun 10, 2024
66af74c
add derecho RT logs: passed
zach1221 Jun 10, 2024
a0fbc0c
add hercules RT logs: passed
zach1221 Jun 10, 2024
06ff59a
add orion RT logs: passed
zach1221 Jun 10, 2024
cc388c0
add control_p8_gnu ORT logs: passed
zach1221 Jun 10, 2024
7272c23
add regional_control_gnu ORT logs: passed
zach1221 Jun 10, 2024
ecba684
add cpld_control_gnu ORT logs: passed
zach1221 Jun 10, 2024
364530d
add gaea RT log passed
FernandoAndrade-NOAA Jun 11, 2024
0dcb605
disable new test on WCOSS2, WCOSS2 RT Log: Passed
BrianCurtis-NOAA Jun 11, 2024
ff5f84b
revert modulefiles after merge
NickSzapiro-NOAA Jun 11, 2024
670b6b9
Add gnv1_nested to tests/test_changes.list
NickSzapiro-NOAA Jun 11, 2024
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: 1 addition & 0 deletions CDEPS-interface/cdeps_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ list(APPEND cdeps_datm_files
list(APPEND cdeps_dice_files
CDEPS/dice/dice_datamode_ssmi_mod.F90
CDEPS/dice/dice_flux_atmice_mod.F90
CDEPS/dice/dice_datamode_cplhist_mod.F90
CDEPS/dice/ice_comp_nuopc.F90
)

Expand Down
8 changes: 7 additions & 1 deletion CICE-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ list(APPEND lib_src_files
${cice_shared_files_c}
${icepack_files}
${cice_mpi_comm_files}
${cice_nuopc_cmeps_driver_files})
${cice_nuopc_cmeps_driver_files}
${cice_cdeps_inline_files})

list(APPEND _cice_defs FORTRANUNDERSCORE
coupled)
Expand Down Expand Up @@ -84,6 +85,11 @@ if(OpenMP_Fortran_FOUND)
target_link_libraries(cice PRIVATE OpenMP::OpenMP_Fortran)
endif()

# ice prescribed
add_dependencies(cice cdeps::cdeps)
target_compile_definitions(cice PUBLIC "DISABLE_FoX")
target_link_libraries(cice PUBLIC cdeps::cdeps)

###############################################################################
### Install
###############################################################################
Expand Down
19 changes: 19 additions & 0 deletions CICE-interface/cice_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,22 @@ list(APPEND cice_nuopc_cmeps_driver_files
CICE/cicecore/drivers/nuopc/cmeps/ice_shr_methods.F90
CICE/cicecore/drivers/nuopc/cmeps/ice_mesh_mod.F90
)

#-- Using ice prescribed ifndef cesmcoupled
list(APPEND cice_cdeps_inline_files
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_orb_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_const_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_abort_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_strconvert_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_log_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_sys_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_kind_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_nl_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_cal_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_string_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_timer_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/streams/dshr_strdata_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/streams/dshr_stream_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/streams/dshr_methods_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/dshr/dshr_mod.F90
)
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules/Modules)
###############################################################################

# Valid applications and choices
list(APPEND VALID_APPS ATM ATMAERO ATMAQ ATMW ATMWM ATML LND S2S S2SA S2SW S2SWA S2SWAL HAFS HAFSW HAFS-MOM6 HAFS-MOM6W HAFS-ALL NG-GODAS)
list(APPEND VALID_APPS ATM ATMAERO ATMAQ ATMW ATMWM ATML LND S2S S2SA S2SW S2SWA S2SWAL ATM_DS2S ATM_DS2S-PCICE HAFS HAFSW HAFS-MOM6 HAFS-MOM6W HAFS-ALL NG-GODAS)
set(APP NONE CACHE BOOL "Application Name")
if(NOT (APP IN_LIST VALID_APPS))
message(FATAL_ERROR "${APP} is not a valid application.\nValid Applications are: ${VALID_APPS}")
Expand Down Expand Up @@ -152,7 +152,7 @@ if(FMS)
find_package(FMS 2022.04 REQUIRED COMPONENTS R4 R8)
if(APP MATCHES "^(HAFSW)$")
add_library(fms ALIAS FMS::fms_r4)
elseif (APP MATCHES "^(S2S|S2SA|S2SW|S2SWA|S2SWAL|NG-GODAS|HAFS-MOM6|HAFS-MOM6W)$")
elseif (APP MATCHES "^(S2S|S2SA|S2SW|S2SWA|S2SWAL|ATM_DS2S|ATM_DS2S-PCICE|NG-GODAS|HAFS-MOM6|HAFS-MOM6W)$")
add_library(fms ALIAS FMS::fms_r8)
endif()
if(APP MATCHES "^(ATM|ATMAERO|ATMAQ|ATMWM|ATMW|ATML|HAFS|HAFS-ALL)$")
Expand Down Expand Up @@ -329,6 +329,7 @@ if(CDEPS)
add_dependencies(ufs cdeps::cdeps)
list(APPEND _ufs_defs_private FRONT_CDEPS_DATM=cdeps_datm_comp)
list(APPEND _ufs_defs_private FRONT_CDEPS_DOCN=cdeps_docn_comp)
list(APPEND _ufs_defs_private FRONT_CDEPS_DICE=cdeps_dice_comp)
target_link_libraries(ufs PUBLIC cdeps::cdeps)
endif()

Expand Down
15 changes: 15 additions & 0 deletions cmake/configure_apps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ if(APP MATCHES "^(S2S|S2SA|S2SW|S2SWA|S2SWAL)$")
set(FV3 ON CACHE BOOL "Enable FV3" FORCE)
set(MOM6 ON CACHE BOOL "Enable MOM6" FORCE)
set(CICE6 ON CACHE BOOL "Enable CICE6" FORCE)
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
set(STOCH_PHYS ON CACHE BOOL "Enable Stochastic Physics" FORCE)
if(APP MATCHES "^(S2SW|S2SWA|S2SWAL)")
set(WW3 ON CACHE BOOL "Enable WAVEWATCH III" FORCE)
Expand All @@ -68,6 +69,20 @@ if(APP MATCHES "^(S2S|S2SA|S2SW|S2SWA|S2SWAL)$")
message("${APP_MSG} mode")
endif()

if(APP MATCHES "^(ATM_DS2S|ATM_DS2S-PCICE)$")
set(APP_MSG "Configuring UFS app in ATM_DS2S with CDEPS data")
set(CMEPS ON CACHE BOOL "Enable CMEPS" FORCE)
set(FMS ON CACHE BOOL "Enable FMS" FORCE)
set(FV3 ON CACHE BOOL "Enable FV3" FORCE)
set(STOCH_PHYS ON CACHE BOOL "Enable Stochastic Physics" FORCE)
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
if (APP MATCHES "^(ATM_DS2S-PCICE)$")
set(CICE6 ON CACHE BOOL "Enable CICE6" FORCE)
string(CONCAT APP_MSG ${APP_MSG} " with prescribed ice sea ice")
endif()
message("${APP_MSG} mode")
endif()

if(APP MATCHES "^(HAFS|HAFSW|HAFS-MOM6|HAFS-MOM6W|HAFS-ALL)$")
set(CMEPS ON CACHE BOOL "Enable CMEPS" FORCE)
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
Expand Down
5 changes: 3 additions & 2 deletions doc/UsersGuide/source/CodeOverview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ The umbrella repository for the UFS WM is named ``ufs-weather-model``. Under thi
├── CDEPS-interface
│ └── CDEPS
│ ├── (datm) -------- CDEPS DATM
│ └── (docn) -------- CDEPS DOCN
│ ├── (docn) -------- CDEPS DOCN
│ └── (dice) -------- CDEPS DICE
├── CICE-interface
│ └── CICE -------- CICE6 sea ice model
│ ├── (icepack) -------- Sea ice column physics
Expand Down Expand Up @@ -161,4 +162,4 @@ The umbrella repository for the UFS WM is named ``ufs-weather-model``. Under thi
│ └── fv3_conf
└── WW3
└── (model) -------- WW3 model
└── (src) -------- NUOPC WW3 caps
└── (src) -------- NUOPC WW3 caps
20 changes: 20 additions & 0 deletions driver/UFSDriver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ MODULE UFSDriver
#endif
#ifdef FRONT_CDEPS_DOCN
use FRONT_CDEPS_DOCN, only: DOCN_SS => SetServices
#endif
#ifdef FRONT_CDEPS_DICE
use FRONT_CDEPS_DICE, only: DICE_SS => SetServices
#endif
! - Handle build time ICE options:
#ifdef FRONT_CICE6
Expand Down Expand Up @@ -410,6 +413,23 @@ subroutine SetModelServices(driver, rc)
found_comp = .true.
end if
#endif
#ifdef FRONT_CDEPS_DICE
if (trim(model) == "dice") then
!TODO: Remove bail code and pass info and SetVM to DriverAddComp
!TODO: once component supports threading.
if (ompNumThreads > 1) then
write (msg, *) "ESMF-aware threading NOT implemented for model: "//&
trim(model)
call ESMF_LogSetError(ESMF_RC_NOT_VALID, msg=msg,line=__LINE__, &
file=__FILE__, rcToReturn=rc)
return ! bail out
endif
call NUOPC_DriverAddComp(driver, trim(prefix), DICE_SS, &
petList=petList, comp=comp, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
found_comp = .true.
end if
#endif
#ifdef FRONT_CICE6
if (trim(model) == "cice6") then
call NUOPC_DriverAddComp(driver, trim(prefix), CICE6_SS, &
Expand Down
2 changes: 1 addition & 1 deletion tests/bl_date.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export BL_DATE=20240603
export BL_DATE=20240607
17 changes: 17 additions & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ export CMP_DATAONLY=false
# Defaults for ufs.configure
export esmf_logkind="ESMF_LOGKIND_MULTI"
export DumpFields="false"
export MED_history_n=1000000

export_fv3_v16 ()
{
Expand Down Expand Up @@ -498,9 +499,12 @@ export HAFS=false
export AQM=false
export DATM_CDEPS=false
export DOCN_CDEPS=false
export DICE_CDEPS=false
export CICE_PRESCRIBED=false
export CDEPS_INLINE=false
export POSTAPP='global'
export USE_MERRA2=.true.
export NESTED=.false.

export NTILES=6
export INPES=${INPES_dflt}
Expand Down Expand Up @@ -904,6 +908,7 @@ export_cice6() {
export DT_CICE=${DT_ATMOS}
export CICE_NPT=999
export CICE_RUNTYPE=initial
export CICE_ICE_IC='cice_model.res.nc'
export CICE_RUNID=unknown
export CICE_USE_RESTART_TIME=.false.
export CICE_RESTART_DIR=./RESTART/
Expand Down Expand Up @@ -954,6 +959,12 @@ export_cice6() {
export CICE_BLCKX
export CICE_BLCKY
export CICE_DECOMP=slenderX2

#ds2s
export MESH_DICE=none
export stream_files_dice=none
export CICE_PRESCRIBED=false
export DICE_CDEPS=false
}

# Defaults for the MOM6 model namelist, mx100
Expand Down Expand Up @@ -1056,6 +1067,8 @@ export HAFS=false
export AQM=false
export DATM_CDEPS=false
export DOCN_CDEPS=false
export DICE_CDEPS=false
export CICE_PRESCRIBED=false
export CDEPS_INLINE=false
export FV3BMIC='p8c'
export BMIC=.false.
Expand Down Expand Up @@ -1222,6 +1235,10 @@ export AOD_FRQ=060000
export RESTART_FILE_PREFIX=''
export RESTART_FILE_SUFFIX_SECS=''
export RT35D=''

#CDEPS ds2s
export MESH_DICE=none
export stream_files_dice=none
}
export_35d_run ()
{
Expand Down
7 changes: 5 additions & 2 deletions tests/fv3_conf/control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ elif [ $NPX = 385 ]; then
elif [ $NPX = 769 ]; then
inputdir=FV3_input_data768
fi
echo "inputdir=$inputdir,NPX=$NPX"

echo "inputdir=$inputdir,NPX=$NPX,NESTED=$NESTED"

OPNREQ_TEST=${OPNREQ_TEST:-false}
V2_SFC_FILE=${V2_SFC_FILE:-false}
SUFFIX=${RT_SUFFIX}
if [ $WARM_START = .false. ]; then
mkdir INPUT RESTART
if [ "$V2_SFC_FILE" = "true" ]; then
if [ "$NESTED" = .true. ]; then
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT_L127_nested/* ./INPUT/.
elif [ "$V2_SFC_FILE" = "true" ]; then
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT_L127_v2_sfc/* ./INPUT/.
else
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT_L127/* ./INPUT/.
Expand Down
15 changes: 15 additions & 0 deletions tests/fv3_conf/cpld_docn_dice.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
mkdir -p INPUT

SUFFIX=${RT_SUFFIX}
if [[ ${OPNREQ_TEST} == true ]]; then
SUFFIX=${BL_SUFFIX}
fi

#CDEPS data files
#cp @[INPUTDATA_ROOT]/DOCN_DICE_cplhist/ufs.cpld.cpl*.nc INPUT
module load nco
ncrcat ../${DEP_RUN}${SUFFIX}/ufs.cpld.cpl.hi.ice*nc ./INPUT/ufs.cpld.cpl.hi.ice.nc
ncrcat ../${DEP_RUN}${SUFFIX}/ufs.cpld.cpl.hi.ocn*nc ./INPUT/ufs.cpld.cpl.hi.ocn.nc

#CDEPS fix files - same for ocn/ice
cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc INPUT
4 changes: 4 additions & 0 deletions tests/fv3_conf/cpld_docn_pcice.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdir -p INPUT

#For consistency, same CDEPS docn and CICE ice prescribed input files (data and ESMF_mesh)
cp @[INPUTDATA_ROOT]/DOCN_DICE_ERA5/* INPUT
Loading
Loading