From cf1819be85da5564e0f3acb7668b1acf02122f7f Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 13 May 2015 08:17:26 -0400 Subject: [PATCH] make work without MPI --- include/deal.II/base/mpi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index 518c03deef..5d4b19c91d 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -45,6 +45,9 @@ namespace MPI static const unsigned int MIN = 0; static const unsigned int SUM = 0; } +static const int MPI_MIN = 0; +static const int MPI_MAX = 0; +static const int MPI_SUM = 0; #endif DEAL_II_NAMESPACE_OPEN @@ -486,6 +489,7 @@ namespace Utilities else #endif { + (void)mpi_op; (void)mpi_communicator; return t; } @@ -512,6 +516,7 @@ namespace Utilities else #endif { + (void)mpi_op; (void)mpi_communicator; for (unsigned int i=0; i