Skip to content

Commit

Permalink
Merge pull request #100 from climbfuji/update_gsl_develop_from_main_2…
Browse files Browse the repository at this point in the history
…0210819

Update gsl develop from develop 2021/08/24
  • Loading branch information
DomHeinzeller authored Aug 26, 2021
2 parents f2f27e1 + e76e84e commit 50f90af
Show file tree
Hide file tree
Showing 264 changed files with 11,162 additions and 5,069 deletions.
10 changes: 7 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@
branch = develop
[submodule "stochastic_physics"]
path = stochastic_physics
url = https://github.com/noaa-gsl/stochastic_physics
branch = gsl/develop
url = https://github.com/noaa-psd/stochastic_physics
branch = master
[submodule "CMakeModules"]
path = CMakeModules
url = https://github.com/NOAA-EMC/CMakeModules
branch = develop
[submodule "CMEPS"]
path = CMEPS-interface/CMEPS
url = https://github.com/NOAA-EMC/CMEPS.git
url = https://github.com/NOAA-EMC/CMEPS
branch = emc/develop
[submodule "HYCOM"]
path = HYCOM-interface/HYCOM
url = https://github.com/NOAA-EMC/HYCOM-src
branch = emc/develop
[submodule "MOM6"]
path = MOM6-interface/MOM6
Expand Down
2 changes: 1 addition & 1 deletion CICE-interface/CICE
24 changes: 16 additions & 8 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 ATMW S2S S2SW NG-GODAS NG-GODAS-NEMSDATM)
list(APPEND VALID_APPS ATM ATMAERO ATMW S2S S2SW HAFS HAFSW HAFS-ALL NG-GODAS NG-GODAS-NEMSDATM)
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 All @@ -26,6 +26,7 @@ set(FMS OFF CACHE BOOL "Enable FMS")
set(FV3 OFF CACHE BOOL "Enable FV3")
set(UFS_GOCART OFF CACHE BOOL "Enable GOCART")
set(MOM6 OFF CACHE BOOL "Enable MOM6")
set(HYCOM OFF CACHE BOOL "Enable HYCOM")
set(CICE6 OFF CACHE BOOL "Enable CICE6")
set(WW3 OFF CACHE BOOL "Enable WW3")
set(STOCH_PHYS OFF CACHE BOOL "Enable Stochastic Physics")
Expand All @@ -42,6 +43,7 @@ message("FMS .............. ${FMS}")
message("FV3 .............. ${FV3}")
message("GOCART ........... ${UFS_GOCART}")
message("MOM6 ............. ${MOM6}")
message("HYCOM ............ ${HYCOM}")
message("CICE6 ............ ${CICE6}")
message("WW3 .............. ${WW3}")
message("STOCH_PHYS ....... ${STOCH_PHYS}")
Expand Down Expand Up @@ -122,17 +124,12 @@ if(CMEPS)
endif()

find_package(bacio REQUIRED)
find_package(nemsio REQUIRED)
find_package(sp REQUIRED)
find_package(w3emc REQUIRED)
find_package(w3nco REQUIRED)
if(INLINE_POST)
find_package(upp REQUIRED)
endif()

# See https://github.com/NOAA-EMC/NCEPLIBS-nemsio/pull/22
target_link_libraries(nemsio::nemsio INTERFACE w3nco::w3nco_d bacio::bacio_4)

# Configure Python
find_package(Python 3 REQUIRED COMPONENTS Interpreter)
message("Found Python: ${Python_EXECUTABLE}")
Expand Down Expand Up @@ -186,12 +183,16 @@ if(WW3)
endif()

###############################################################################
### Marine Components [MOM6, CICE6]
### Marine Components [MOM6, HYCOM, CICE6]
###############################################################################
if(MOM6)
add_subdirectory(MOM6-interface)
endif()

if(HYCOM)
add_subdirectory(HYCOM-interface)
endif()

if(CICE6)
add_subdirectory(CICE-interface)
endif()
Expand All @@ -207,7 +208,7 @@ endif()
### Data Components [NEMSdatm, CDEPS]
###############################################################################
if(NEMSdatm)
add_subdirectory(DATM)
add_subdirectory(DATM/DATM)
endif()

if(CDEPS)
Expand Down Expand Up @@ -268,6 +269,12 @@ if(MOM6)
list(APPEND _ufs_libs_public mom6)
endif()

if(HYCOM)
list(APPEND _ufs_defs_private FRONT_HYCOM=HYCOM_Mod)
add_dependencies(ufs hycom)
target_link_libraries(ufs PUBLIC hycom)
endif()

if(CICE6)
add_dependencies(ufs cice)
list(APPEND _ufs_defs_private FRONT_CICE6=ice_comp_nuopc)
Expand All @@ -283,6 +290,7 @@ endif()
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)
target_link_libraries(ufs PUBLIC cdeps::cdeps)
endif()

Expand Down
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 93 files
+1 −5 CMakeLists.txt
+146 −117 atmos_model.F90
+1 −1 ccpp/CMakeLists.txt
+24 −23 ccpp/config/ccpp_prebuild_config.py
+1 −1 ccpp/data/CCPP_data.meta
+115 −64 ccpp/data/GFS_typedefs.F90
+1,434 −1,433 ccpp/data/GFS_typedefs.meta
+3 −5 ccpp/driver/GFS_init.F90
+1 −1 ccpp/framework
+1 −1 ccpp/physics
+0 −1 ccpp/suites/suite_FV3_CPT_v0.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_coupled.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_couplednsst.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_csawmg.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_csawmgshoc.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_fv3wam.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_noahmp.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_regional.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_regional_c768.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_h2ophys.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_myj.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_ntiedtke.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_ozphys_2015.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_sas.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_satmedmf.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_satmedmf_coupled.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_satmedmfq.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_shinhong.xml
+0 −1 ccpp/suites/suite_FV3_GFS_2017_ysu.xml
+91 −0 ccpp/suites/suite_FV3_GFS_cpld_rasmgshocnsst_ugwp.xml
+91 −0 ccpp/suites/suite_FV3_GFS_cpld_rasmgshocnsstnoahmp_ugwp.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_gf.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_gf_thompson.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_mynn.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_thompson.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_thompson_mynn.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_thompson_mynn_RRTMGP.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15_thompson_mynn_lam3km.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15p2.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15p2_RRTMGP.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15p2_coupled.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15p2_couplednsst.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15p2_no_nsst.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v15plus.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_RRTMGP.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_coupled.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_coupled_noahmp.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_coupled_nsstNoahmp.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_couplednsst.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_csawmg.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_flake.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_no_nsst.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_noahmp.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_thompson.xml
+0 −1 ccpp/suites/suite_FV3_GFS_v16_ugwpv1.xml
+95 −0 ccpp/suites/suite_FV3_GFSv17alpha_cpldnsstras_ugwp.xml
+94 −0 ccpp/suites/suite_FV3_GFSv17alpha_ras_ugwp.xml
+0 −1 ccpp/suites/suite_FV3_GSD_SAR.xml
+0 −1 ccpp/suites/suite_FV3_GSD_noah.xml
+0 −1 ccpp/suites/suite_FV3_GSD_noah_mynnsfc.xml
+0 −1 ccpp/suites/suite_FV3_GSD_v0.xml
+0 −1 ccpp/suites/suite_FV3_GSD_v0_RRTMGP.xml
+0 −1 ccpp/suites/suite_FV3_GSD_v0_drag_suite.xml
+0 −1 ccpp/suites/suite_FV3_GSD_v0_mynnsfc.xml
+0 −1 ccpp/suites/suite_FV3_GSD_v0_unified_ugwp_suite.xml
+0 −1 ccpp/suites/suite_FV3_GSD_v0_unified_ugwp_suite_noah.xml
+94 −0 ccpp/suites/suite_FV3_HAFS_v0_gfdlmp_tedmf.xml
+92 −0 ccpp/suites/suite_FV3_HAFS_v0_gfdlmp_tedmf_nonsst.xml
+1 −2 ccpp/suites/suite_FV3_HAFS_v0_hwrf.xml
+1 −2 ccpp/suites/suite_FV3_HAFS_v0_hwrf_thompson.xml
+0 −1 ccpp/suites/suite_FV3_HRRR.xml
+0 −1 ccpp/suites/suite_FV3_RAP.xml
+0 −1 ccpp/suites/suite_FV3_RRFS_v1alpha.xml
+0 −1 ccpp/suites/suite_FV3_RRFS_v1beta.xml
+13 −3 cpl/module_cap_cpl.F90
+28 −0 cpl/module_cplfields.F90
+136 −118 fv3_cap.F90
+257 −182 io/FV3GFS_io.F90
+0 −46 io/ffsync.F90
+0 −2 io/module_fv3_io_def.F90
+0 −1 io/module_write_internal_state.F90
+0 −795 io/module_write_nemsio.F90
+1 −1 io/module_write_netcdf.F90
+14 −45 io/module_wrt_grid_comp.F90
+56 −5 io/post_gfs.F90
+0 −6 io/post_regional.F90
+257 −42 module_fcst_grid_comp.F90
+2 −0 module_fv3_config.F90
+3 −4 stochastic_physics/stochastic_physics_wrapper.F90
2 changes: 1 addition & 1 deletion GOCART
Submodule GOCART updated 122 files
124 changes: 124 additions & 0 deletions HYCOM-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
get_filename_component(hycom_dir "${CMAKE_CURRENT_SOURCE_DIR}/HYCOM" ABSOLUTE)

### HYCOM Fortran compiler flags
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
set(CMAKE_Fortran_FLAGS "-g -fbacktrace")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-real-8 -fdefault-double-8")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Waliasing -fcray-pointer -fconvert=big-endian -ffree-line-length-none -fno-range-check -fbacktrace")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -fcheck=bounds -ffpe-trap=invalid,zero,overflow,underflow" )
set(CMAKE_Fortran_LINK_FLAGS "")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback -xSSE4.2 -mcmodel=small -r8")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model source -warn nogeneral")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -link_mpi=dbg")
set(CMAKE_Fortran_LINK_FLAGS "-V ${CMAKE_Fortran_FLAGS} -static-intel")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
endif()

### HYCOM C compiler flags
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
set(CMAKE_C_FLAGS "-g -fbacktrace")
set(CMAKE_C_FLAGS_RELEASE "-O3")
set(CMAKE_C_FLAGS_DEBUG "-O0")
set(CMAKE_C_LINK_FLAGS "")
elseif(CMAKE_C_COMPILER_ID MATCHES "Intel")
set(CMAKE_C_FLAGS "-g -traceback -xSSE4.2 -mcmodel=small")
set(CMAKE_C_FLAGS_RELEASE "-O")
set(CMAKE_C_FLAGS_DEBUG "-O0 -ftrapuv")
set(CMAKE_C_LINK_FLAGS "-V ${CMAKE_C_FLAGS} -static-intel")
else()
message(WARNING "C compiler with ID ${CMAKE_C_COMPILER_ID} will be used with CMake default options")
endif()

list(APPEND _hycom_defs IA32
REAL8
MPI
SERIAL_IO
ENDIAN_IO
NAN2003
TIME
RELO
EOS_SIG2
EOS_17T
ESPC_COUPLE
)

# User option to build HYCOM offline executable
set(HYCOMOFFLINE OFF CACHE BOOL "Build HYCOM offline")

message("Build HYCOM:")
message(" in: ${hycom_dir}")
message(" HYCOMOFFLINE: ${HYCOMOFFLINE}")
message("")

# Too many files to list, so include them via this file
include("hycom_files.cmake")

### Use common object library for building target library
add_library(hycom_obj OBJECT ${_hycom_src_files})
set_target_properties(hycom_obj PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/HYCOM)
set_target_properties(hycom_obj PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(hycom_obj PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_include_directories(hycom_obj PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/HYCOM>)
target_compile_definitions(hycom_obj PRIVATE "${_hycom_defs}")


### Use NUOPC object library for building target library
add_library(hycom_nuopc_obj OBJECT ${_hycom_nuopc_src_files})
add_dependencies(hycom_nuopc_obj hycom_obj)
set_target_properties(hycom_nuopc_obj PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/HYCOM)
set_target_properties(hycom_nuopc_obj PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(hycom_nuopc_obj PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_include_directories(hycom_nuopc_obj PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/HYCOM>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/HYCOM/NUOPC>)
target_compile_definitions(hycom_nuopc_obj PRIVATE "${_hycom_defs}")
target_link_libraries(hycom_nuopc_obj PRIVATE hycom_obj
esmf
NetCDF::NetCDF_Fortran)

### Create target library and set PUBLIC interfaces on the library
add_library(hycom STATIC $<TARGET_OBJECTS:hycom_obj>
$<TARGET_OBJECTS:hycom_nuopc_obj>)
target_include_directories(hycom PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)
target_include_directories(hycom PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/HYCOM>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/HYCOM/NUOPC>)
target_compile_definitions(hycom PRIVATE "${_hycom_defs}")
target_link_libraries(hycom PUBLIC esmf
NetCDF::NetCDF_Fortran)

### Create HYCOM offline executable
if(HYCOMOFFLINE)
message("Building HYCOM offline executable")
add_executable(hycomoffline ${_hycom_offline_src_files})
add_dependencies(hycomoffline hycom_obj)
set_target_properties(hycomoffline PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod_offline)
target_include_directories(hycomoffline PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_include_directories(hycomoffline PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod_offline>)
target_include_directories(hycomoffline PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/HYCOM>)

target_link_libraries(hycomoffline PRIVATE hycom_obj)
endif()

###############################################################################
### Install
###############################################################################

install(
TARGETS hycom
EXPORT hycom-config
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
COMPONENT Library)

install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod DESTINATION ${CMAKE_INSTALL_PREFIX}/HYCOM)

install(EXPORT hycom-config
DESTINATION lib/cmake)

if(HYCOMOFFLINE)
install(TARGETS hycomoffline RUNTIME DESTINATION bin)
endif()
1 change: 1 addition & 0 deletions HYCOM-interface/HYCOM
Submodule HYCOM added at b4f4ee
68 changes: 68 additions & 0 deletions HYCOM-interface/hycom_files.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
list(APPEND _hycom_src_files
HYCOM/mod_dimensions.F90
HYCOM/mod_xc.F90
HYCOM/mod_za.F90
HYCOM/mod_cb_arrays.F90
HYCOM/mod_pipe.F90
HYCOM/mod_incupd.F90
HYCOM/mod_floats.F90
HYCOM/mod_stokes.F90
HYCOM/mod_tides.F90
HYCOM/mod_mean.F90
HYCOM/mod_archiv.F90
HYCOM/mod_tsadvc.F90
HYCOM/mod_momtum.F90
HYCOM/mod_barotp.F90
HYCOM/mod_asselin.F90
HYCOM/mod_restart.F90
HYCOM/mod_import.F90
HYCOM/mod_hycom.F90

HYCOM/bigrid.F90
HYCOM/blkdat.F90
HYCOM/cnuity.F90
HYCOM/convec.F90
HYCOM/diapfl.F90
HYCOM/dpthuv.F90
HYCOM/dpudpv.F90
HYCOM/forfun.F90
HYCOM/geopar.F90
HYCOM/hybgen.F90
HYCOM/icloan.F90
HYCOM/inicon.F90
HYCOM/inigiss.F90
HYCOM/inikpp.F90
HYCOM/inimy.F90
HYCOM/latbdy.F90
HYCOM/matinv.F90
HYCOM/mxkprf.F90
HYCOM/mxkrt.F90
HYCOM/mxkrtm.F90
HYCOM/mxpwp.F90
HYCOM/overtn.F90
HYCOM/poflat.F90
HYCOM/prtmsk.F90
HYCOM/psmoo.F90
HYCOM/thermf.F90
HYCOM/trcupd.F90
HYCOM/machine.F90
HYCOM/wtime.F90
HYCOM/machi_c.c
HYCOM/isnan.F90
HYCOM/s8gefs.F90
)

list(APPEND _hycom_nuopc_src_files
HYCOM/NUOPC/HYCOM_OceanComp.F90
HYCOM/NUOPC/HYCOM_ESMF_Extensions.F90
HYCOM/NUOPC/hycom_couple.F90
HYCOM/NUOPC/read_impexp_config_mod.F90
HYCOM/NUOPC/impexpField_cdf_mod.F90
HYCOM/NUOPC/export_from_hycom_tiled.F90
HYCOM/NUOPC/hycom_read_latlon.F90
HYCOM/NUOPC/hycom_nuopc_flags.F90
)

list(APPEND _hycom_offline_src_files
HYCOM/hycom.F90
)
2 changes: 1 addition & 1 deletion MOM6-interface/MOM6
Submodule MOM6 updated 106 files
1 change: 1 addition & 0 deletions MOM6-interface/mom6_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ list(APPEND mom6_src_files
MOM6/src/user/user_revise_forcing.F90

MOM6/src/ocean_data_assim/MOM_oda_driver.F90
MOM6/src/ocean_data_assim/MOM_oda_incupd.F90

MOM6/config_src/external/GFDL_ocean_BGC/FMS_coupler_util.F90
MOM6/config_src/external/GFDL_ocean_BGC/generic_tracer.F90
Expand Down
2 changes: 1 addition & 1 deletion WW3
Submodule WW3 updated 326 files
16 changes: 16 additions & 0 deletions cmake/configure_apps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ if(APP MATCHES "^(S2S|S2SW)$")
endif()
endif()

if(APP MATCHES "^(HAFS|HAFSW|HAFS-ALL)$")
set(CMEPS ON CACHE BOOL "Enable CMEPS" FORCE)
if(APP MATCHES "^(HAFS-ALL)$")
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
message("Configuring UFS app in HAFS with CDEPS mode")
endif()
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(HYCOM ON CACHE BOOL "Enable HYCOM" FORCE)
if(APP MATCHES "^(HAFSW|HAFS-ALL)$")
set(WW3 ON CACHE BOOL "Enable WAVEWATCH III" FORCE)
message("Configuring UFS app in HAFS with Waves mode")
endif()
endif()

if(APP MATCHES "^(ATMAERO)$")
set(FMS ON CACHE BOOL "Enable FMS" FORCE)
set(FV3 ON CACHE BOOL "Enable FV3" FORCE)
Expand Down
Loading

0 comments on commit 50f90af

Please sign in to comment.