[petsc-users] Configure error with PETSc 3.17.4 on Ubuntu 22.04

Matthew Knepley knepley at gmail.com
Fri Aug 12 12:23:59 CDT 2022


On Fri, Aug 12, 2022 at 1:14 PM David Knezevic via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> I get a configure error when building PETSc 3.17.4 on Ubuntu 22.04. The
> configure.log is attached.
>
> This error seems to only occur when we use --with-clanguage=cxx. We need
> to use that object when building with complex numbers.
>
> Guidance on how to resolve this would be most appreciated.
>

1. I think your existing MUMPS build is incompatible (but it is hard for us
to tell). Remove it

  rm -rf $PETSC_DIR/$PETSC_ARCH/externalpackages/git.mumps

and reconfigure

2. You can also use C99 for complex numbers, but your application code
might already be using C++.

  Thanks,

     Matt


> Thanks,
> David
>


-- 
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/20220812/6c74aae3/attachment.html>


More information about the petsc-users mailing list