Skip to content
Snippets Groups Projects
Commit d637213c authored by Elias Pipping's avatar Elias Pipping
Browse files

[Extern] Register with MPI

This is now necessary even though the code is entirely serial.
parent adbe6bf2
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <dune/common/fmatrix.hh> #include <dune/common/fmatrix.hh>
#include <dune/common/function.hh> #include <dune/common/function.hh>
#include <dune/common/fvector.hh> #include <dune/common/fvector.hh>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/parametertree.hh> #include <dune/common/parametertree.hh>
#include <dune/common/parametertreeparser.hh> #include <dune/common/parametertreeparser.hh>
...@@ -72,6 +73,7 @@ Dune::ParameterTree getParameters(int argc, char *argv[]) { ...@@ -72,6 +73,7 @@ Dune::ParameterTree getParameters(int argc, char *argv[]) {
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
try { try {
Dune::MPIHelper::instance(argc, argv);
auto const parset = getParameters(argc, argv); auto const parset = getParameters(argc, argv);
MyGeometry::render(); MyGeometry::render();
......
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