[petsc-dev] What happened to FC_DEPFLAGS?

Lisandro Dalcin dalcinl at gmail.com
Wed Sep 25 09:57:15 CDT 2019


$ make -f gmakefile print VAR=C_DEPFLAGS
-MMD -MP
$ make -f gmakefile print VAR=CXX_DEPFLAGS
-MMD -MP
$ make -f gmakefile print VAR=FC_DEPFLAGS
<no output>

Somehow the configure test code is not being executed:

$ grep FC_ configure.log
          Initialized FC_LINKER_FLAGS to []
            Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath,"
              Defined make macro "FC_VERSION" to "GNU Fortran (GCC) 9.2.1
20190827 (Red Hat 9.2.1-1)"
                Defined make macro "MPIFC_SHOW" to "gfortran -m64 -O2 -fPIC
-Wl,-z,noexecstack -I/usr/include/mpich-x86_64
-I/usr/lib64/gfortran/modules/mpich -L/usr/lib64/mpich/lib -lmpifort
-Wl,-rpath -Wl,/usr/lib64/mpich/lib -Wl,--enable-new-dtags -lmpi"
            Defined make macro "FC_DEFINE_FLAG" to "-D"
          Defined make macro "FC_FLAGS" to " -Wall -ffree-line-length-0
-Wno-unused-dummy-argument -O0 -g3  "
          Defined make macro "FC_SUFFIX" to "o"
          Defined make macro "FC_LINKER" to "mpif90"
          Defined make macro "FC_LINKER_FLAGS" to "   -Wall
-ffree-line-length-0 -Wno-unused-dummy-argument -O0 -g3 "
          Defined make macro "FC_MODULE_FLAG" to "-I"
          Defined make macro "FC_MODULE_OUTPUT_FLAG" to "-J"
          Defined make macro "PETSC_FC_INCLUDES" to
"-I/home/devel/petsc/dev/include
-I/home/devel/petsc/dev/arch-linux2-c-debug/include"
          Defined make macro "PETSC_FC_INCLUDES_INSTALL" to
"-I/home/devel/petsc/dev/include
-I/home/devel/petsc/dev/arch-linux2-c-debug/include"
FC_DEFINE_FLAG = -D
FC_VERSION = GNU Fortran (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)
MPIFC_SHOW = gfortran -m64 -O2 -fPIC -Wl,-z,noexecstack
-I/usr/include/mpich-x86_64 -I/usr/lib64/gfortran/modules/mpich
-L/usr/lib64/mpich/lib -lmpifort -Wl,-rpath -Wl,/usr/lib64/mpich/lib
-Wl,--enable-new-dtags -lmpi
FC_MODULE_OUTPUT_FLAG = -J
FC_LINKER_FLAGS =    -Wall -ffree-line-length-0 -Wno-unused-dummy-argument
-O0 -g3
FC_FLAGS =  -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O0 -g3
PETSC_FC_INCLUDES_INSTALL = -I/home/devel/petsc/dev/include
-I/home/devel/petsc/dev/arch-linux2-c-debug/include
PETSC_FC_INCLUDES = -I/home/devel/petsc/dev/include
-I/home/devel/petsc/dev/arch-linux2-c-debug/include
FC_LINKER = mpif90
FC_MODULE_FLAG = -I
FC_SUFFIX = o
FC_LINKER_SLFLAG = -Wl,-rpath,

-- 
Lisandro Dalcin
============
Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190925/3fcd8b23/attachment.html>


More information about the petsc-dev mailing list