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) {