Commit 37f2d60a authored by Ansgar Burchardt's avatar Ansgar Burchardt

Merge branch 'cherry-pick-b40dfded' into 'releases/2.5'

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

See merge request !162
parents a9cb06e5 7610c501
Pipeline #1814 passed with stage
in 215 minutes and 59 seconds
......@@ -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 "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment