Skip to content

Commit

Permalink
Update CIME to ESMCI cime5.8.6 (#3073)
Browse files Browse the repository at this point in the history
Update CIME to ESMCI cime5.8.6
    
Squash merge of jgfouca/branch-for-to-acme-2019-07-16
    
Features:
* Case insensitive user_nl
* changes needed for nuopc/mct mom6 validation
    
[BFB]
  • Loading branch information
jgfouca authored Jul 17, 2019
1 parent 42acfa6 commit 35c8581
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions 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 35c8581

Please sign in to comment.