diff --git a/src/gradient-flow.cc b/src/gradient-flow.cc index ddc4300754683f9b26662f3970d919a43c634cc5..585a41736589b057a123de62fe14f4105e66aa9a 100644 --- a/src/gradient-flow.cc +++ b/src/gradient-flow.cc @@ -67,6 +67,9 @@ using namespace Dune; int main (int argc, char *argv[]) try { + // initialize MPI; this is needed even though we may never use it + MPIHelper::instance(argc, argv); + // Start Python interpreter Python::start(); Python::Reference main = Python::import("__main__");