Skip to content
Merged
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions src/module_EARTH_GRID_COMP.F90
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ MODULE module_EARTH_GRID_COMP
#ifdef FRONT_FV3
use FRONT_FV3, only: FV3_SS => SetServices
#endif
#ifdef FRONT_DATM
use FRONT_DATM, only: DATM_SS => SetServices
#ifdef FRONT_NEMS_DATM
use FRONT_NEMS_DATM, only: DATM_SS => SetServices
#endif
#ifdef FRONT_CDEPS_DATM
use FRONT_CDEPS_DATM, only: DATM_SS => SetServices
#endif
! - Handle build time OCN options:
#ifdef FRONT_HYCOM
Expand Down Expand Up @@ -353,8 +356,8 @@ subroutine SetModelServices(driver, rc)
found_comp = .true.
end if
#endif
#ifdef FRONT_DATM
if (trim(model) == "datm") then
#if defined FRONT_NEMS_DATM || defined FRONT_CDEPS_DATM
if (trim(model) == "nems_datm" .or. trim(model) == "datm" ) then
call NUOPC_DriverAddComp(driver, trim(prefix), DATM_SS, &
petList=petList, comp=comp, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
Expand Down