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 number of mpi processes that > is not equal the number of cores you use. Instead one should pass (when using > generic linear algebra) > > #ifdef USE_PETSC_LA > dealii::Utilities::MPI::MPI_InitFinalize > mpi_initialization(argc, argv, /* disable threading for petsc */ 1); > #else > dealii::Utilities::MPI::MPI_InitFinalize > mpi_initialization(argc, argv, dealii::numbers::invalid_unsigned_int); > #endif > > I guess that was the bug.
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! Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/919b1577-e0eb-5e43-664d-82de1c8d3ab4%40colostate.edu.
