From f14c3e359eb7bf142a1b50b8e555bc9c65bc1db7 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Fri, 7 Jun 2024 11:34:22 -0400 Subject: fix a use of cerr instead of cout in tabulate_mpi --- lib94/core.cpp | 6 ++++-- 1 file 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; -- cgit v1.2.3