On Fri, Aug 12, 2022 at 1:14 PM David Knezevic via petsc-users <
petsc-users@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/>

Reply via email to