[petsc-users] error make with cude on IBM

Balay, Satish balay at mcs.anl.gov
Fri Sep 21 09:26:56 CDT 2018


Can you send the corresponding configure.log?

Satish

On Fri, 21 Sep 2018, Mark Adams wrote:

> Thanks, worked. And I get this message, but I set COPTFLAGS="-O2" ...
> 
> ===============================================================================
>                                                                       *****
> WARNING: Using default optimization C flags -O
>                                                                You might
> consider manually setting optimal optimization flags for your system with
> 
>  COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for
> examples
>  ===============================================================================
> 
> 
> On Thu, Sep 20, 2018 at 3:51 PM Balay, Satish <balay at mcs.anl.gov> wrote:
> 
> > > /autofs/nccs-svm1_home1/adams/petsc/include/petscmath.h(389): error:
> > identifier "PETSC_CXX_INLINE" is undefined
> >
> > Somehow nvcc is setting '__cplusplus' flag - and causing he errors..
> >
> > change --with-cxx=0 to --with-cxx=mpicxx
> >
> > Satish
> >
> > ---------
> >
> >
> >
> >
> > On Thu, 20 Sep 2018, Mark Adams wrote:
> >
> > > I am getting this error on SUMMIT.
> > >
> >
> >
> 



More information about the petsc-users mailing list