diff options
-rw-r--r-- | lib94/core.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib94/core.cpp b/lib94/core.cpp index 790205e..7654abd 100644 --- a/lib94/core.cpp +++ b/lib94/core.cpp @@ -354,9 +354,11 @@ namespace lib94 { MPI_Comm_rank(communicator, &comm_rank); if constexpr (print_progress) - if (comm_rank == 0) + if (comm_rank == 0) { for (int i = 0; i < comm_size; ++i) - std::cerr << '\n'; + std::cout << '\n'; + std::cout << std::flush; + } int actual_count = w2_offsets.size(); int per_process = (actual_count - 1) / comm_size + 1; |