Skip to content

Commit

Permalink
fix run time
Browse files Browse the repository at this point in the history
  • Loading branch information
junwang-noaa committed Aug 18, 2023
1 parent 4954040 commit 328766d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config_src/drivers/nuopc_cap/mom_cap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 328766d

Please sign in to comment.