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

Roland Richter roland.richter at ntnu.no
Mon Oct 11 04:23:52 CDT 2021


Hei,

I compiled PETSc with Intel MPI (MPICH) and GCC as compiler (i.e. using
Intel OneAPI together with the supplied mpicxx-compiler). Compilation
and installation worked fine, but running the tests resulted in the
error "Attempting to use an MPI routine before initializing MPICH". A
simple test program (attached) worked fine with the same combination.

What could be the reason for that?

Thanks!

Regards,

Roland Richter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 1292 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211011/695b0136/attachment.bin>


More information about the petsc-users mailing list