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 <[email protected]> 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.
> >
>
>