diff --git a/Src/Amr/AMReX_Amr.cpp b/Src/Amr/AMReX_Amr.cpp index 8e81035f7dd..1e9c4b137b9 100644 --- a/Src/Amr/AMReX_Amr.cpp +++ b/Src/Amr/AMReX_Amr.cpp @@ -2207,6 +2207,7 @@ Amr::coarseTimeStep (Real stop_time) if (record_run_info_terse && ParallelDescriptor::IOProcessor()) { runlog_terse << level_steps[0] << " " << cumtime << " " << dt_level[0]; runlog_terse << '\n'; + runlog_terse.flush(); } int check_test = 0; @@ -2917,6 +2918,7 @@ Amr::printGridInfo (std::ostream& os, } os << '\n'; + os.flush(); } diff --git a/Src/AmrCore/AMReX_AmrCore.cpp b/Src/AmrCore/AMReX_AmrCore.cpp index 50380d3db77..1e56c1652d2 100644 --- a/Src/AmrCore/AMReX_AmrCore.cpp +++ b/Src/AmrCore/AMReX_AmrCore.cpp @@ -227,6 +227,7 @@ AmrCore::printGridSummary (std::ostream& os, int min_lev, int max_lev) const noe } os << '\n'; + os.flush(); } }