Skip to content

Commit

Permalink
Merge branch 'fix.output.elapsed.times' into 'master.dev'
Browse files Browse the repository at this point in the history
Fix output of correct elapsed time in DisplayMessageAndTime()

See merge request piclas/piclas!725
  • Loading branch information
scopplestone committed Nov 8, 2022
2 parents ddaa04a + f1d1d1e commit 4879a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/globals/globals.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ SUBROUTINE DisplayMessageAndTime(ElapsedTimeIn, Message, DisplayDespiteLB, Displ

! Output message
IF(LocalRoot.AND.((.NOT.PerformLoadBalance).OR.DisplayDespiteLBLoc))THEN
WRITE(UNIT_stdOut,'(A,F16.2,A)',ADVANCE='NO') ' '//TRIM(Message)//' [',ElapsedTime,' sec ]'
WRITE(UNIT_stdOut,'(A,F16.2,A)',ADVANCE='NO') ' '//TRIM(Message)//' [',ElapsedTimeIn,' sec ]'
WRITE(UNIT_stdOut,'(A2,I6,A1,I0.2,A1,I0.2,A1,I0.2,A1)') ' [',INT(days),':',INT(hours),':',INT(mins),':',INT(secs),']'
IF(DisplayLineLoc) WRITE(UNIT_StdOut,'(132("-"))')
END IF ! LocalRoot.AND.((.NOT.PerformLoadBalance).OR.DisplayDespiteLBLoc)
Expand Down

0 comments on commit 4879a88

Please sign in to comment.