summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-06-07 11:34:22 -0400
committerBenji Dial <benji@benjidial.net>2024-06-07 11:34:22 -0400
commitf14c3e359eb7bf142a1b50b8e555bc9c65bc1db7 (patch)
treee46736819565a25fcca7269b03aace7c5e981f1e
parentd3693daeaad3b3dba8d3f0ba21555d6b6b409094 (diff)
downloadlib94-f14c3e359eb7bf142a1b50b8e555bc9c65bc1db7.tar.gz
fix a use of cerr instead of cout in tabulate_mpiHEADmain
-rw-r--r--lib94/core.cpp6
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;