Include rank into error message.

This commit is contained in:
Markus Blatt 2015-09-08 11:48:06 +02:00
parent 315251da2c
commit c97f125b56

View File

@ -147,7 +147,10 @@ namespace Opm
catch ( Dune::MatrixBlockError error )
{
message = error.what();
std::cerr<<message<<std::endl;
std::cerr<<"Exception occured on process " <<
comm.communicator().rank() << " during " <<
"setup of ILU0 preconditioner with message: " <<
message<<std::endl;
ilu_setup_successful = 0;
}
// Check whether there was a problem on some process