Skip to content

Commit

Permalink
Merge branch 'ambrad/homme/flush-homme-log-1' (PR #6646)
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
ambrad committed Oct 1, 2024
2 parents b663752 + 6944e95 commit f1e03b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/homme/src/share/parallel_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ subroutine abortmp(string)
#endif
#endif
character*(*) string
call flush(iulog)
#ifdef CAM
call endrun(string)
#else
Expand Down

0 comments on commit f1e03b7

Please sign in to comment.