you have to be a bit more specific on the issue you are encountering. - are you using PETSc makefiles? - where did you add "-std=c++11" in the makefile? - what is the compile command and its warnings/errors you are getting from the makefile? [after whatever you did]
Usually it should work if you add it to CXXFLAGS in makefile - or run 'make CXXFLAGS="-std=c++11" Or you can configure petsc with the option --with-cxx-dialect=C++11 Satish On Sun, 17 Apr 2016, 丁老师 wrote: > Dear friends: > I add the "-std=c++11" in the make file, but it still give me warning. > >
