From c48c655c3711fc70d7a1eed25e80ceba5bd07aa6 Mon Sep 17 00:00:00 2001 From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de> Date: Tue, 23 Feb 2016 15:54:19 +0100 Subject: [PATCH] [el1p2c] guard struct specialization for parallel case test failed if mpi was not installed --- dumux/linear/amgparallelhelpers.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dumux/linear/amgparallelhelpers.hh b/dumux/linear/amgparallelhelpers.hh index 80a65acdc8..23a95661fa 100644 --- a/dumux/linear/amgparallelhelpers.hh +++ b/dumux/linear/amgparallelhelpers.hh @@ -1016,6 +1016,7 @@ struct LinearAlgebraPreparator } }; +#if HAVE_MPI /*! * \brief Specialization for the parallel case. */ @@ -1069,7 +1070,7 @@ struct LinearAlgebraPreparator<TypeTag, true> } } }; - +#endif } // end namespace Dumux -- GitLab