Skip to content
Snippets Groups Projects
Commit 7610c501 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Merge branch 'bugfix/test-parallel-ug-only-with-parallel-ug' into 'master'

test-parallel-ug: return 77 when run in parallel with sequential dune-uggrid

See merge request !159
parent a9cb06e5
No related branches found
No related tags found
1 merge request!162Merge branch 'bugfix/test-parallel-ug-only-with-parallel-ug' into 'master'
Pipeline #
......@@ -622,6 +622,14 @@ int main (int argc , char **argv) try
// initialize MPI, finalize is done automatically on exit
auto &mpiHelper = Dune::MPIHelper::instance(argc, argv);
#if !defined(ModelP)
if (mpiHelper.size() > 1) {
if (mpiHelper.rank() == 0)
std::cout << "SKIPPED: test-parallel-ug requires a parallel version of dune-uggrid\n";
return 77;
}
#endif
std::cout << "This is process "
<< mpiHelper.rank() + 1
<< " of "
......
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