]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MPI 3: minor edits 13483/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 2 Mar 2022 18:45:20 +0000 (13:45 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 2 Mar 2022 21:39:53 +0000 (16:39 -0500)
examples/step-76/step-76.cc
source/base/mpi.cc

index 161257e2419785c109f27eaa300d33adebfd6d9e..b49d0a784bd3eb06d44489cc7695ad53b6b27c2a 100644 (file)
@@ -510,7 +510,7 @@ namespace Euler_DG
   EulerOperator<dim, degree, n_points_1d>::EulerOperator(TimerOutput &timer)
     : timer(timer)
   {
-#if DEAL_II_MPI_VERSION_GTE(3, 0)
+#ifdef DEAL_II_WITH_MPI
     if (group_size == 1)
       {
         this->subcommunicator = MPI_COMM_SELF;
index b15e272cee0c925206e30cfab94b4b80eb018b2c..c40b6e2aaee764c16c7cca1a8c84241c7ff1989d 100644 (file)
@@ -285,7 +285,6 @@ namespace Utilities
 
 #  ifdef DEBUG
       MPI_Count size64;
-      // this function is only available starting with MPI 3.0:
       ierr = MPI_Type_size_x(result, &size64);
       AssertThrowMPI(ierr);
 
@@ -367,7 +366,7 @@ namespace Utilities
       // 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:
+      // available for MPI 2.2 or later:
       static CollectiveMutex      mutex;
       CollectiveMutex::ScopedLock lock(mutex, mpi_comm);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.