[petsc-users] Error "Attempting to use an MPI routine before initializing MPICH" after compiling PETSc with Intel MPI and GCC
Matthew Knepley
knepley at gmail.com
Mon Oct 11 06:57:31 CDT 2021
On Mon, Oct 11, 2021 at 5:24 AM Roland Richter <roland.richter at ntnu.no>
wrote:
> 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?
>
Hi Roland,
Can you get a stack trace for this error using the debugger?
Thanks,
Matt
> Thanks!
>
> Regards,
>
> Roland Richter
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211011/fe8ac911/attachment.html>
More information about the petsc-users
mailing list