diff --git a/config_src/drivers/nuopc_cap/mom_cap.F90 b/config_src/drivers/nuopc_cap/mom_cap.F90 index 74773a0829..000bfec488 100644 --- a/config_src/drivers/nuopc_cap/mom_cap.F90 +++ b/config_src/drivers/nuopc_cap/mom_cap.F90 @@ -1510,9 +1510,8 @@ subroutine ModelAdvance(gcomp, rc) rc = ESMF_SUCCESS if(profile_memory) call ESMF_VMLogMemInfo("Entering MOM Model_ADVANCE: ") - if(timere > 0.) timers = MPI_Wtime() - if(is_root_pe()) write(stdout,*) 'In MOM6, time since last time step ',timers-timere - + timers = MPI_Wtime() + if(timere>0. .and. is_root_pe()) write(stdout,*) 'In MOM6, time since last time step ',timers-timere call shr_log_setLogUnit (stdout)