Skip to content

Commit

Permalink
Ensure printing out the "PASS: fcstRUN phase ..." in the same line, s…
Browse files Browse the repository at this point in the history
…o that one

can easily check/track the wallclock time for each time step.
  • Loading branch information
BinLiu-NOAA committed Apr 8, 2022
1 parent f4056a4 commit dc75c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module_fcst_grid_comp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ subroutine fcst_run_phase_1(fcst_comp, importState, exportState,clock,rc)
call atmos_model_exchange_phase_1 (Atmos, rc=rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, line=__LINE__, file=__FILE__)) return

if (mype == 0) write(*,*)"PASS: fcstRUN phase 1, n_atmsteps = ",n_atmsteps, ' time is ', mpi_wtime()-tbeg1
if (mype == 0) write(*,'(A,I,A,F)')"PASS: fcstRUN phase 1, n_atmsteps = ",n_atmsteps, ' time is ', mpi_wtime()-tbeg1
!
!-----------------------------------------------------------------------
!
Expand Down Expand Up @@ -1247,7 +1247,7 @@ subroutine fcst_run_phase_2(fcst_comp, importState, exportState,clock,rc)
endif
endif

if (mype == 0) write(*,*)"PASS: fcstRUN phase 2, n_atmsteps = ",n_atmsteps, ' time is ', mpi_wtime()-tbeg1
if (mype == 0) write(*,'(A,I,A,F)')"PASS: fcstRUN phase 2, n_atmsteps = ",n_atmsteps, ' time is ', mpi_wtime()-tbeg1
!
!-----------------------------------------------------------------------
!
Expand Down

0 comments on commit dc75c9c

Please sign in to comment.