From d6c70d0432eac717c317759b14c78aae14367f4d Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Tue, 12 Dec 2017 20:52:06 +0100
Subject: [PATCH] Start the MPIHelper

---
 src/compute-disc-error.cc | 2 ++
 src/harmonicmaps.cc       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/compute-disc-error.cc b/src/compute-disc-error.cc
index 9f57695c..82140743 100644
--- a/src/compute-disc-error.cc
+++ b/src/compute-disc-error.cc
@@ -310,6 +310,8 @@ void measureEOC(const std::shared_ptr<GridType> grid,
 
 int main (int argc, char *argv[]) try
 {
+  MPIHelper::instance(argc, argv);
+
   // Start Python interpreter
   Python::start();
   Python::Reference main = Python::import("__main__");
diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc
index b84095f9..fd2e24a6 100644
--- a/src/harmonicmaps.cc
+++ b/src/harmonicmaps.cc
@@ -69,6 +69,8 @@ using namespace Dune;
 
 int main (int argc, char *argv[]) try
 {
+    MPIHelper::instance(argc, argv);
+
     //feenableexcept(FE_INVALID);
     // Start Python interpreter
     Python::start();
-- 
GitLab