[petsc-users] error make with cude on IBM

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


Ah - the same code is used for COPTFLAGS and CUDAOPTFLAGS - but the message printer doesn't know
this difference.

I think the warning will go away if you also set CUDAOPTFLAGS

Will have to see how this can be fixed to print the correct message.

Satish

On Fri, 21 Sep 2018, Mark Adams wrote:

> same one as yesterday I think
> 
> On Fri, Sep 21, 2018 at 10:27 AM Balay, Satish <balay at mcs.anl.gov> wrote:
> 
> > 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