Skip to content
Snippets Groups Projects
Commit 8a56da58 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Set up MPI at the beginning of 'main'

This is needed even though we don't actually use MPI here.  Dune aborts with a
run-time error otherwise.
parent 6c5627ec
No related branches found
No related tags found
No related merge requests found
......@@ -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__");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment