Skip to content

Commit

Permalink
Merge pull request #3166 from ESMCI/mvertens/mom6_validation
Browse files Browse the repository at this point in the history
changes needed for nuopc/mct mom6 validation
This also introduces the new grid tx0.61

Test suite: scripts_regression_tests
Test baseline: no
Test namelist changes:
Test status: bit for bit
Fixes: None
User interface changes?: No
Update gh-pages html (Y/N)?: N
Code review:
  • Loading branch information
jedwards4b authored Jul 10, 2019
2 parents 20fafeb + 3caa58d commit 7d187be
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions driver-mct/main/cime_comp_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1639,11 +1639,7 @@ subroutine cime_init()
! set skip_ocean_run flag, used primarily for ocn run on first timestep
! use reading a restart as a surrogate from whether this is a startup run

#ifdef COMPARE_TO_NUOPC
skip_ocean_run = .false.
#else
skip_ocean_run = .true.
#endif
if ( read_restart) skip_ocean_run = .false.
ocnrun_count = 0
cpl2ocn_first = .true.
Expand Down Expand Up @@ -3872,12 +3868,24 @@ subroutine cime_run_atmocn_setup(hashint)

! ocn prep-merge (cesm1_mod or cesm1_mod_tight)
if (ocn_prognostic) then
#if COMPARE_TO_NUOPC
!This is need to compare to nuopc
if (.not. skip_ocean_run) then
! ocn prep-merge
xao_ox => prep_aoflux_get_xao_ox()
call prep_ocn_mrg(infodata, fractions_ox, xao_ox=xao_ox, timer_mrg='CPL:atmocnp_mrgx2o')

! Accumulate ocn inputs - form partial sum of tavg ocn inputs (virtual "send" to ocn)
call prep_ocn_accum(timer='CPL:atmocnp_accum')
end if
#else
! ocn prep-merge
xao_ox => prep_aoflux_get_xao_ox()
call prep_ocn_mrg(infodata, fractions_ox, xao_ox=xao_ox, timer_mrg='CPL:atmocnp_mrgx2o')

! Accumulate ocn inputs - form partial sum of tavg ocn inputs (virtual "send" to ocn)
call prep_ocn_accum(timer='CPL:atmocnp_accum')
#endif
end if

!----------------------------------------------------------
Expand Down

0 comments on commit 7d187be

Please sign in to comment.