> /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. >