<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hei,</p>
<p>at least in gdb it fails with</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">Attempting to
use an MPI routine before initializing MPICH
</span><br>
[Inferior 1 (process 7854) exited with code 01]
<br>
(gdb) backtrace
<br>
No stack.<br>
<br>
</span>Regards,</p>
<p>Roland<br>
<span style="font-family:monospace"></span></p>
<div class="moz-cite-prefix">Am 11.10.21 um 13:57 schrieb Matthew
Knepley:<br>
</div>
<blockquote type="cite"
cite="mid:CAMYG4GmZdZwuORTNudxKzPZoPN4efjiQ_W6cJp+-YEbbRcS60g@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Mon, Oct 11, 2021 at 5:24 AM Roland Richter
<<a href="mailto:roland.richter@ntnu.no"
moz-do-not-send="true" class="moz-txt-link-freetext">roland.richter@ntnu.no</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hei,<br>
<br>
I compiled PETSc with Intel MPI (MPICH) and GCC as compiler
(i.e. using<br>
Intel OneAPI together with the supplied mpicxx-compiler).
Compilation<br>
and installation worked fine, but running the tests resulted
in the<br>
error "Attempting to use an MPI routine before initializing
MPICH". A<br>
simple test program (attached) worked fine with the same
combination.<br>
<br>
What could be the reason for that?<br>
</blockquote>
<div><br>
</div>
<div>Hi Roland,</div>
<div><br>
</div>
<div>Can you get a stack trace for this error using the
debugger?</div>
<div><br>
</div>
<div> Thanks,</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Thanks!<br>
<br>
Regards,<br>
<br>
Roland Richter<br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>What most experimenters take for granted before
they begin their experiments is infinitely more
interesting than any results to which their
experiments lead.<br>
-- Norbert Wiener</div>
<div><br>
</div>
<div><a href="http://www.cse.buffalo.edu/~knepley/"
target="_blank" moz-do-not-send="true">https://www.cse.buffalo.edu/~knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>