[petsc-users] ``--with-clanguage=c++" turns on "PETSC_HAVE_COMPLEX"?

Balay, Satish balay at mcs.anl.gov
Fri May 3 21:43:11 CDT 2019


On Fri, 3 May 2019, Fande Kong via petsc-users wrote:

> On Fri, May 3, 2019 at 8:02 PM Balay, Satish <balay at mcs.anl.gov> wrote:
> 
> > On Fri, 3 May 2019, Fande Kong via petsc-users wrote:
> >
> > > It looks like mpicxx from openmpi does not handle this correctly.
> >
> > Perhaps my earlier messages was not clear. The problem is not with
> > OpenMPI - but your build of it. Its installed with 'clang' as the C++
> > compiler - it should be built with 'clang++' as the c++ compiler.
> >
> 
> Oh, I see. Thanks.

I've added a check to configure

https://bitbucket.org/petsc/petsc/pull-requests/1622/configure-when-with-clanguage-cxx-is-used/diff

Satish


More information about the petsc-users mailing list