Skip to content

Commit 74d9018

Browse files
committed
Merge branch 'ambrad/homme/flush-homme-log-1' into next (PR #6646)
Homme(xx): Flush the log before calling MPI_Abort in Homme's abortmp. This is an attempt to assure atm.log (EAM) and homme_atm.log (EAMxx) get full output when the dycore calls MPI_Abort. [BFB]
2 parents 75229ea + 6944e95 commit 74d9018

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/homme/src/share/parallel_mod.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ subroutine abortmp(string)
274274
#endif
275275
#endif
276276
character*(*) string
277+
call flush(iulog)
277278
#ifdef CAM
278279
call endrun(string)
279280
#else

0 commit comments

Comments
 (0)