Re: [deal.II] Re: Error with Petsc and and multithreading?

2019-09-09 Thread Wolfgang Bangerth
On 9/9/19 3:10 PM, Konrad wrote: > > Thanks a lot, Wolfgang! The error message is actually quite clear. What > I found out in addition is that it is advantageous and helpful to read > the documentation ... ;-) Yes, no doubt :-) We're spending a lot of time writing it ;-) Cheers W. --

Re: [deal.II] Re: Error with Petsc and and multithreading?

2019-09-09 Thread Konrad
> > Yes, this is indeed the case, and is what the error message was trying to > suggest. If you think that the error message could have been clearer, feel > free to propose a better wording and we'll include it for the next > release! > Thanks a lot, Wolfgang! The error message is actually

Re: [deal.II] Re: Error with Petsc and and multithreading?

2019-09-09 Thread Wolfgang Bangerth
On 9/9/19 2:47 AM, Konrad wrote: > OK, just to answer the question: If you are running with petsc you should not > call > > dealii::Utilities::MPI::MPI_InitFinalize > mpi_initialization(argc, argv, dealii::numbers::invalid_unsigned_int); > > since this will invoke threading if you start a

[deal.II] Re: Error with Petsc and and multithreading?

2019-09-09 Thread Konrad
OK, just to answer the question: If you are running with petsc you should not call dealii::Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, dealii::numbers::invalid_unsigned_int); since this will invoke threading if you start a number of mpi processes that is not equal the