From: Martin Kronbichler Date: Fri, 30 Sep 2016 14:55:29 +0000 (+0200) Subject: Make compile without MPI X-Git-Tag: v8.5.0-rc1~629^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=578adfc260b943079c6b7b8c51606bb448e2d88c;p=dealii.git Make compile without MPI --- diff --git a/source/lac/trilinos_vector.cc b/source/lac/trilinos_vector.cc index 0af4209e7f..b82f777b49 100644 --- a/source/lac/trilinos_vector.cc +++ b/source/lac/trilinos_vector.cc @@ -237,7 +237,7 @@ namespace TrilinosWrappers owned_elements.compress(); } } -#ifdef DEBUG +#if defined(DEBUG) && defined(DEAL_II_WITH_MPI) const MPI_Comm mpi_communicator = dynamic_cast(&(vector->Comm()))->Comm(); const size_type n_elements_global @@ -357,7 +357,7 @@ namespace TrilinosWrappers last_action = Insert; } -#ifdef DEBUG +#if defined(DEBUG) && defined(DEAL_II_WITH_MPI) const MPI_Comm mpi_communicator = dynamic_cast(&(vector->Comm()))->Comm(); const size_type n_elements_global @@ -435,7 +435,7 @@ namespace TrilinosWrappers last_action = Insert; } -#ifdef DEBUG +#if defined(DEBUG) && defined(DEAL_II_WITH_MPI) const MPI_Comm mpi_communicator = dynamic_cast(&(vector->Comm()))->Comm(); const size_type n_elements_global