Thanks, and did __FUNCT__ go away? On Sun, Jan 28, 2018 at 10:29 AM, Matthew Knepley <[email protected]> wrote:
> On Mon, Jan 29, 2018 at 2:27 AM, Mark Adams <[email protected]> wrote: > >> I want to add stuff to compile lines and I tried: >> >> >> include ${PETSC_DIR}/lib/petsc/conf/variables >> include ${PETSC_DIR}/lib/petsc/conf/rules >> >> CC_FLAGS := ${CC_FLAGS} -I$(OLYMPUS_INC_DIR) -I$(FEI_DIR) >> -DPROM_HAVE_METIS -DPROM_USE_PETSC -DPROM_NO_FEI -DPROM_HAVE_SILO # >> -I$(SILO_INC) >> FC_FLAGS := ${FC_FLAGS} -fdefault-integer-8 >> >> This a C++ code: >> >> 10:21 2 master *= ~/Codes/olympus-keaveny/Olympus$ make getcflags >> >> -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas >> -fstack-protector -Qunused-arguments -fvisibility=hidden -g -mavx2 >> -I./include -I./fei_prom -DPROM_HAVE_METIS -DPROM_USE_PETSC -DPROM_NO_FEI >> -DPROM_HAVE_SILO >> >> 10:21 master *= ~/Codes/olympus-keaveny/Olympus$ make >> >> /Users/markadams/Codes/petsc/arch-macosx-gnu-g/bin/mpicxx -o >> pfeap/pfeap.o -c -Wall -Wwrite-strings -Wno-strict-aliasing >> -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -mavx2 >> -I/Users/markadams/Codes/petsc/include >> -I/Users/markadams/Codes/petsc/arch-macosx-gnu-g/include >> -I/Users/markadams/Codes/petsc/arch-macosx-gnu-g/include/pragmatic >> -I/Users/markadams/Codes/petsc/arch-macosx-gnu-g/include/eigen3 >> `pwd`/pfeap/pfeap.C >> >> /Users/markadams/Codes/olympus-keaveny/Olympus/pfeap/pfeap.C:7:10: fatal >> error: 'pfeap.hh' file not found >> >> #include "pfeap.hh" >> >> ^~~~~~~~~~ >> >> 1 error generated. >> >> It looks like CC_FLAGS are not getting used by CXX (-I./include is not >> making it to the compile line). How should I do this? I don't see a >> CXX_FLAGS. >> > > It is CXX_FLAGS. > > Matt > > >> >> Thanks, >> Mark >> > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > > https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/> >
