Skip to content

Commit

Permalink
Fix formatting of the timestep log print statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
nusbaume committed Jun 12, 2024
1 parent 03c786f commit cb4f941
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/utils/time_manager.F90
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,9 @@ subroutine advance_timestep()

! Increment the timestep number.

! Use statements
use string_utils, only: stringify

! Local variables
character(len=*), parameter :: sub = 'advance_timestep'
integer :: rc
Expand All @@ -528,9 +531,10 @@ subroutine advance_timestep()
call ESMF_ClockAdvance( tm_clock, rc=rc )
call chkrc(rc, sub//': error return from ESMF_ClockAdvance')

! Write new timestep to CAM log file
! Write new timestep to CAM log file.

write(iulog,*) '------------------------'
write(iulog,'(a,i8,a)') 'CAM-SIMA time step advanced (nstep = ',get_nstep(),')'
write(iulog,*) 'CAM-SIMA time step advanced (nstep = '//stringify([get_nstep()])//')'
write(iulog,*) '------------------------'

! Set first step flag off.
Expand Down

0 comments on commit cb4f941

Please sign in to comment.