From: Timo Heister Date: Wed, 13 May 2015 12:17:26 +0000 (-0400) Subject: make work without MPI X-Git-Tag: v8.3.0-rc1~174^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf1819be85da5564e0f3acb7668b1acf02122f7f;p=dealii.git make work without MPI --- 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