diff options
author | Benji Dial <benji@benjidial.net> | 2024-06-07 11:34:22 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-06-07 11:34:22 -0400 |
commit | f14c3e359eb7bf142a1b50b8e555bc9c65bc1db7 (patch) | |
tree | e46736819565a25fcca7269b03aace7c5e981f1e | |
parent | d3693daeaad3b3dba8d3f0ba21555d6b6b409094 (diff) | |
download | lib94-f14c3e359eb7bf142a1b50b8e555bc9c65bc1db7.tar.gz |
-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; |