<div dir="ltr"><div>Thanks for this suggestion, using --download-mpich got it working!</div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 12, 2022 at 1:25 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We've seen issues with Ubuntu built MPI. Can you try --download-mpich and see if that helps?<br>
<br>
Also  you don't need --with-clanguage=cxx for complex. PETSc can be built with c99 compilex - i.e "--with-clanguage=c --with-scalar-type=complex" should work.<br>
<br>
Satish<br>
<br>
On Fri, 12 Aug 2022, David Knezevic via petsc-users wrote:<br>
<br>
> I get a configure error when building PETSc 3.17.4 on Ubuntu 22.04. The<br>
> configure.log is attached.<br>
> <br>
> This error seems to only occur when we use --with-clanguage=cxx. We need to<br>
> use that object when building with complex numbers.<br>
> <br>
> Guidance on how to resolve this would be most appreciated.<br>
> <br>
> Thanks,<br>
> David<br>
> <br>
<br>
</blockquote></div>