[petsc-users] error make with cude on IBM

Mark Adams mfadams at lbl.gov
Fri Sep 21 09:09:31 CDT 2018


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.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180921/0e836b65/attachment.html>


More information about the petsc-users mailing list