if (Utilities::MPI::min((my_destinations_are_unique ? 1 : 0), mpi_comm) ==
1)
{
- return ConsensusAlgorithms::NBX<char, char>().run(
+ return ConsensusAlgorithms::nbx<char, char>(
destinations, {}, {}, {}, mpi_comm);
}
- // If that was not the case, we need to use the remainder of the code
- // below, i.e., just fall through the if condition above.
-# endif
-
- // So we need to run a different algorithm, specifically one that
- // requires more memory -- MPI_Reduce_scatter_block will require memory
- // proportional to the number of processes involved; that function is
- // also only available for MPI 2.2 or later:
-# if DEAL_II_MPI_VERSION_GTE(2, 2)
+ // So we need to run a different algorithm, specifically one that
+ // requires more memory -- MPI_Reduce_scatter_block will require memory
+ // proportional to the number of processes involved; that function is
+ // available for MPI 2.2 or later:
static CollectiveMutex mutex;
CollectiveMutex::ScopedLock lock(mutex, mpi_comm);