Commit 9a611b3e authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Explicitly include mpihelper.hh

dune-pdelab does some 'extern C' magic with mpi.h which makes
the CI system fail.  Force correct inclusion of 'mpi.h'
by including it (almost) explicitly, up front.
parent 7b07649e
......@@ -2,6 +2,7 @@
#include <array>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertree.hh>
#include <dune/grid/yaspgrid.hh>
......
#include <config.h>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/grid/yaspgrid.hh>
#include <dune/grid/io/file/vtk.hh>
......
#include <config.h>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/grid/yaspgrid.hh>
#include <dune/grid/io/file/vtk.hh>
......
......@@ -4,6 +4,7 @@
#define NEW_TRESCA_FRICTION_FUNCTIONAL
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertree.hh>
#include <dune/common/hybridutilities.hh>
......@@ -305,7 +306,7 @@ public:
int main (int argc, char *argv[]) try
{
Dune::MPIHelper::instance(argc, argv);
MPIHelper::instance(argc, argv);
// Solver settings
int numLevels = 3;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment