[petsc-users] Error "Attempting to use an MPI routine before initializing MPICH" after compiling PETSc with Intel MPI and GCC

Stefano Zampini stefano.zampini at gmail.com
Mon Oct 11 05:08:46 CDT 2021


Try removing line 15

boost_procs = boost::thread::physical_concurrency();

Usually these errors are caused by  destructors called when objects go out of scope

> On Oct 11, 2021, at 12:23 PM, Roland Richter <roland.richter at ntnu.no> wrote:
> 
> <main.cpp>



More information about the petsc-users mailing list