From 5a3f25d12092ac4b2873ad822b9ad573efa4b9a7 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 4 Jan 2018 10:05:52 +0100 Subject: [PATCH] make the equil test work in the presence of dune-fem --- tests/test_equil.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_equil.cc b/tests/test_equil.cc index 80a7616d3..ecec355f8 100644 --- a/tests/test_equil.cc +++ b/tests/test_equil.cc @@ -31,7 +31,11 @@ #include +#if HAVE_DUNE_FEM +#include +#else #include +#endif #include #include @@ -993,7 +997,11 @@ void test_DeckWithSwatinit() int main(int argc, char** argv) { +#if HAVE_DUNE_FEM + Dune::Fem::MPIManager::initialize(argc, argv); +#else Dune::MPIHelper::instance(argc, argv); +#endif typedef TTAG(TestEquilTypeTag) TypeTag; Ewoms::registerAllParameters_();