> On 19 Mar 2016, at 18:15, Satish Balay <[email protected]> wrote: > > On Sat, 19 Mar 2016, Denis Davydov wrote: > >> >>> On 19 Mar 2016, at 17:38, Matthew Knepley <[email protected]> wrote: >>> >>> On Sat, Mar 19, 2016 at 11:29 AM, Satish Balay <[email protected] >>> <mailto:[email protected]>> wrote: >>> This code is a bit convoluted.. >>> >>> There is CPP, CPPFLAGS, CXXCPP, CXXCPPFLAGS. But then no FPP or FPPFLAGS.. >>> >>> Is this really true? Is the Fortran preprocessors not the C preprocessor? I >>> have never encountered this. >>> If you want flags which are different for C, use CFLAGS. Am I missing >>> something? >> >> AFAIK CFLAGS are not use in PETSc config system to check working C >> preprocessor and settings >> CFLAGS=-Qunused-arguments >> still leads to Cannot find a C preprocessor . >> which is the original issue. >> > > oh well. you could use --with-cc='mpicc -Qunused-arguments’
Ended up doing this, both for cc and cxx. That did the trick. Regards, Denis.
