From 43bba1c9d23efb3f7e73cc89a41c35ee15243f5b Mon Sep 17 00:00:00 2001 From: jpollin98 Date: Mon, 29 Apr 2024 10:17:43 +0100 Subject: [PATCH] Update radfield.cc --- radfield.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radfield.cc b/radfield.cc index 552dab3fd..4b06273b1 100644 --- a/radfield.cc +++ b/radfield.cc @@ -1268,7 +1268,7 @@ void reduce_estimators() for (int nonemptymgi = 0; nonemptymgi < nonempty_npts_model; nonemptymgi++) { MPI_Allreduce(MPI_IN_PLACE, &bfrate_raw[static_cast(nonemptymgi) * static_cast(globals::bfestimcount)], - globals::bfestimcount, MPI_DOUBLE, MPI_SUM, MPI_COMM_WORLD); + globals::bfestimcount, MPI_DOUBLE, MPI_SUM, mpi_comm_node); } if (globals::rank_in_node == 0) {