Skip to content
Snippets Groups Projects
Commit 1f82ee1b authored by Oliver Sander's avatar Oliver Sander
Browse files

Fix FS 867

[[Imported from SVN: r6379]]
parent 479543ba
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,14 @@
#include <dune/common/mpihelper.hh>
#include <iostream>
int main(int argc, char** argv)
{
#ifdef MPIHELPER_PREINITIALZE
#if HAVE_MPI
MPI_Init(&argc, &argv);
#endif
#endif
typedef Dune::MPIHelper Helper;
......@@ -29,7 +32,9 @@ int main(int argc, char** argv)
comm= mpi.getCommunicator();
#ifdef MPIHELPER_PREINITIALZE
#if HAVE_MPI
MPI_Finalize();
#endif
#endif
}
std::cout << "We are at the end!"<<std::endl;
......
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