Hello I am resending this as the previous bounced back.
regards Michael -------- Original Message -------- Subject: [deal.II] Installation Issue on RHEL5.x Date: Thu, 07 Jun 2012 13:17:10 -0500 From: Michael E. Thomadakis <[email protected]> Reply-To: [email protected] CC: [email protected] Hello all.I am trying to build deal.II 7.1.0 on a RHEL 5.4 system using Intel compilers 11.1 and OpenMPI 1.4.3 and I have ran into a problem with makefiles.
I have already built and installed latest PETSc (3.2-p7), recommended trilinos (10.4.2) and p4est (0.3.4) . At this stage I was trying to built deal.II.
*1) Makefile Issues * Built location for deal.II is *$BP/src/intel/deal.II*, where BP some file path prefix, but install location is *$IP/deal.II/7.1/intel_11.1/openmpi_1.4.3* and *IP* some installation prefix path.
My "*configure*" command line is which I issue from the built directory *$BP/src/intel/deal.II*
...
*export proot="$IP/deal.II/7.1/intel_11.1/openmpi_1.4.3";
export CC=mpicc
export CXX=mpiCC
export F77=mpif90
./configure \
--prefix=$proot \
--with-petsc=$PETSC_DIR --with-petsc-arch=$PETSC_ARCH \
--with-trilinos=$TRI_ROOT \
--with-p4est=$P4_ROOT \
--with-blas="$BlassLapack" \
--with-umfpack \
--enable-mpi \
--enable-shared F77=mpif90 \
--enable-threads && make all*
The script I use to deal.II "configure" is attached.
Configure proceeds OK (see attached config.log)
After I use "make all" I am getting the following :
*deal.II $ make all
make[1]: Entering directory
`/scratch/miket/src/intel/deal.II/common/scripts'
make[1]: *** No rule to make target
`/scratch/miket/software/deal.II/7.1/intel_11.1/openmpi_1.4.3/common/Make.global_options',
needed by `make_dependencies'. Stop.
make[1]: Leaving directory `/scratch/miket/src/intel/deal.II/common/scripts' make: *** [deps] Error 2 *Looking in */scratch/miket/src/intel/deal.II/common/scripts *I saw the Makefile which includes the following lines
*...
# deal.II top level directory
D=../..
include $D/common/Make.global_options
default: make_dependencies$(EXEEXT) expand_instantiations$(EXEEXT) \
report_features$(EXEEXT)
...
make_dependencies$(EXEEXT) : make_dependencies.cc
$D/common/Make.global_options
@echo ===================================== Compiling $@
@$(CXX) $(CXXFLAGS.o) $(LDFLAGS) $< -o $@
*
which in turn changes the *$(D)* make variable to :
*D =
/scratch/miket/software/deal.II/7.1/intel_11.1/openmpi_1.4.3
*which is the *installation* path. So after */scratch/miket/src/intel/deal.II/common/scripts/Makefile* includes ../../common/Make.global_options the D points to installation location and NOT to the built location where Make can find the makefiles it needs. I am attaching "*/scratch/miket/src/intel/deal.II/common/scripts/Makefile*" and "*/scratch/miket/src/intel/deal.II/common/Make.global_options*"
Am I doing something wrong or is there any workaround? *2) F77 Persistence to 'gfortran'*I am using Intel 11.1 compilers behind the MPIXX compiler drivers on OpenMPI. Setting CC and CXX to mpicc and mpiCC respectively, makes configure use the correct MPI compier drivers. However even though I set F77 to mpif77 or mpif90, it seems that configure insists using "/usr/bin/gfortran" which is rather old. Is there any way to let configure use mpif77/mpif90 whcih invokes Intel's forttran compilers (ifort) ? We would much rather use ifort than gfortran which outdated version 4.1.2.
Please let me know if you would like me to provide any further information. Best regards Michael
config-intel_11.1-openmpi_1.4.3-shared.sh
Description: application/shellscript
# $Id: Make.global_options.in 24497 2011-10-01 12:54:26Z bangerth $
###############################################################################
## Please note:
## The ./configure script generates Make.global_options from
## Make.global_options.in, so if you want to change something,
## then do it in the latter file and re-run ./configure in the
## top level directory
##
##
## This file exports several variables. They are documented in
## the file doc/development/makefiles.html. If you add a new
## variable, make sure it is documented in
## doc/development/makefiles.1.html and listed in
## doc/development/Makefile.
###############################################################################
######################################################################
# Since most of our makefiles at some ponit use bash features, choose
# bash as default shell here once and for all
SHELL=/bin/bash
######################################################
# the following lines will be replaced by the output
# of ./configure
D =
/scratch/miket/software/deal.II/7.1/intel_11.1/openmpi_1.4.3
CXX = /g/software/openmpi/1.4.3/intel/bin/mpiCC
GXX-VERSION = intel_icc11
GXX-VERSION-DETAILED = intel_icc11
CC = /g/software/openmpi/1.4.3/intel/bin/mpicc
CC-VERSION = intel_icc
SHLIBLD = /g/software/openmpi/1.4.3/intel/bin/mpicc
SHLIBFLAGS = -shared
AR = /usr/bin/ar
RANLIB = /usr/bin/ranlib
LDFLAGS = -L/scratch/miket/src/intel/deal.II/lib
-Wl,-rpath,/scratch/miket/src/intel/deal.II/lib
-L/g/software/intel/mkl/10.2.6.038/lib/em64t -lstdc++ -lpthread -lpthread
-lpthread -ldl -rdynamic
-L/g/software/trilinos/10.4.2/intel_11.1/openmpi_1.4.3/opt/shared/lib
-Wl,-rpath,/g/software/trilinos/10.4.2/intel_11.1/openmpi_1.4.3/opt/shared/lib
F77 = /usr/bin/gfortran
F77-VERSION = gcc4.1
F77LIBS = -lg2c -lgfortran
LIBS = -lz -lmkl_intel_lp64 -Wl,--start-group
-lmkl_intel_thread -lmkl_core -liomp5 -lmkl_lapack -Wl,--end-group -lpthread
-lg2c -lgfortran
LIBDIR = $D/lib
PERL = /usr/bin/perl
QMAKE =
enable-threads = yes
enable-shared = yes
enable-parser = yes
DEAL_II_VERSION = 7.1.0
DEAL_II_MAJOR = 7
DEAL_II_MINOR = 1
USE_CONTRIB_PETSC = yes
DEAL_II_PETSC_DIR = /g/software/petsc/3.2-p7
DEAL_II_PETSC_ARCH = intel_11.1-openmpi_1.4.3-real-opt-shared
DEAL_II_PETSC_VERSION_MAJOR = 3
DEAL_II_PETSC_VERSION_MINOR = 2
DEAL_II_PETSC_VERSION_SUBMINOR = 0
DEAL_II_PETSC_VERSION_DEV = no
DEAL_II_PETSC_MPIUNI_LIB =
USE_CONTRIB_SLEPC = no
DEAL_II_SLEPC_DIR =
DEAL_II_SLEPC_VERSION_MAJOR =
DEAL_II_SLEPC_VERSION_MINOR =
DEAL_II_SLEPC_VERSION_SUBMINOR =
USE_CONTRIB_TRILINOS = yes
DEAL_II_TRILINOS_INCDIR =
/g/software/trilinos/10.4.2/intel_11.1/openmpi_1.4.3/opt/shared/include
DEAL_II_TRILINOS_LIBDIR =
/g/software/trilinos/10.4.2/intel_11.1/openmpi_1.4.3/opt/shared/lib
DEAL_II_TRILINOS_SHARED = yes
DEAL_II_TRILINOS_STATIC =
DEAL_II_TRILINOS_VERSION_MAJOR = 10
DEAL_II_TRILINOS_VERSION_MINOR = 4
DEAL_II_TRILINOS_VERSION_SUBMINOR = 2
DEAL_II_TRILINOS_LIBPREFIX =
USE_CONTRIB_MUMPS = no
DEAL_II_MUMPS_DIR =
DEAL_II_SCALAPACK_DIR =
DEAL_II_BLACS_DIR =
DEAL_II_BLACS_ARCH =
USE_CONTRIB_ARPACK = no
DEAL_II_ARPACK_DIR =
DEAL_II_ARPACK_ARCH =
USE_CONTRIB_METIS = no
DEAL_II_METIS_LIBDIR =
USE_CONTRIB_HSL =
USE_CONTRIB_UMFPACK = yes
USE_CONTRIB_P4EST = yes
DEAL_II_P4EST_DIR = /g/software/p4est/0.3.4/intel_11.1/openmpi_1.4.3
DEAL_II_USE_MPI = yes
TARGET = x86_64-unknown-linux-gnu
######################################################
# now configuration for compiler flags, paths, etc
# path for libraries
LIBPATH += $(addprefix -L,$(LIBDIR))
static-lib-suffix = .a
shared-lib-suffix = .so
ifeq ($(enable-shared),yes)
lib-suffix = $(shared-lib-suffix)
else
lib-suffix = $(static-lib-suffix)
endif
# add search path for libraries to make dependencies
vpath %.a $(LIBDIR)
vpath %.so $(LIBDIR)
OBJEXT = o
EXEEXT =
# dealing with shared libraries
ifeq ($(shared-lib-suffix),.so)
DEAL_II_SHLIB_NAME = lib$(1)$(shared-lib-suffix).$(DEAL_II_VERSION)
else
DEAL_II_SHLIB_NAME = lib$(1).$(DEAL_II_VERSION)$(shared-lib-suffix)
endif
ifeq (yes,yes)
DEAL_II_ADD_SONAME = -Wl,-soname,$(call DEAL_II_SHLIB_NAME,$(1))
else
ifeq (no,yes)
DEAL_II_ADD_SONAME = -Wl,-dynamic,-install_name -Wl,$(call
DEAL_II_SHLIB_NAME,$(1))
else
DEAL_II_ADD_SONAME =
endif
endif
ifeq (yes,yes)
DEAL_II_RPATH = -Wl,-rpath,$1
else
DEAL_II_RPATH =
endif
# since the PETSc libs are called the same for both debug and
# optimized mode, we have to have a trick to let the executable
# know which ones are the right (since apparently LD_LIBRARY_PATH
# can't do the trick unless you want to reset it every time
# you switch from debug to optimized mode). To avoid messing with
# -Wl,-rpath in our linker flags, we create one convenience library
# for all PETSc libraries in our own lib directory, and have this one
# twiddle with whatever is necessary to link in PETSc.
ifeq ($(USE_CONTRIB_PETSC),yes)
ifeq ($(DEAL_II_PETSC_VERSION_MAJOR),2)
lib-contrib-petsc-path.g = $(DEAL_II_PETSC_DIR)/lib/$(DEAL_II_PETSC_ARCH)
lib-contrib-petsc-path.o = $(DEAL_II_PETSC_DIR)/lib/$(DEAL_II_PETSC_ARCH)
else
lib-contrib-petsc-path.g = $(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/lib
lib-contrib-petsc-path.o = $(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/lib
endif
# First up is a twiddle for Darwin/MacOSX
ifeq ($(findstring darwin,$(TARGET)),)
lib-contrib-petsc.g = $(LIBDIR)/libpetscall.g$(lib-suffix)
lib-contrib-petsc.o = $(LIBDIR)/libpetscall$(lib-suffix)
else
ifeq ($(enable-shared),yes)
# Starting with PETSc versions 2.3.*:
ifeq ($(DEAL_II_PETSC_VERSION_MAJOR),2)
lib-contrib-petsc.g = $(shell echo
$(DEAL_II_PETSC_DIR)/lib/$(DEAL_II_PETSC_ARCH)/*$(lib-suffix))
lib-contrib-petsc.o = $(shell echo
$(DEAL_II_PETSC_DIR)/lib/$(DEAL_II_PETSC_ARCH)/*$(lib-suffix))
else
# which is the similar as for PETSc 3.0.0:
ifeq ($(DEAL_II_PETSC_VERSION_MAJOR)$(DEAL_II_PETSC_VERSION_MINOR),30)
lib-contrib-petsc.g = $(shell echo
$(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/lib/*$(lib-suffix))
lib-contrib-petsc.o = $(shell echo
$(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/lib/*$(lib-suffix))
else
# but after that (petsc-3.1++), we can use the simpler PETSc
# default "--with-single-library=1" like this:
lib-contrib-petsc.g = $(shell echo
$(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/lib/libpetsc$(lib-suffix))
lib-contrib-petsc.o = $(shell echo
$(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/lib/libpetsc$(lib-suffix))
endif
endif # if PETSC_VERSION
else
# and finally this goes for static libraries
lib-contrib-petsc.g = $(LIBDIR)/libpetscall.g$(lib-suffix)
lib-contrib-petsc.o = $(LIBDIR)/libpetscall$(lib-suffix)
endif
endif
endif # USE_CONTRIB_PETSC
ifeq ($(USE_CONTRIB_SLEPC),yes)
lib-contrib-slepc =
$(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/lib/libslepc$(lib-suffix)
endif
# same for metis, except that there is only one library in that case
ifeq ($(USE_CONTRIB_METIS),yes)
lib-contrib-metis = $(DEAL_II_METIS_LIBDIR)/libmetis.a
endif
# List all trilinos libraries that we want to link with. These must be sorted
# in dependency order for linking. Fortunately, we can get the set of
# libraries from Trilinos's cmake files in aclocal.m4.
ifeq ($(USE_CONTRIB_TRILINOS),yes)
DEAL_II_TRILINOS_LIBS = $(addprefix $(DEAL_II_TRILINOS_LIBPREFIX),
stratimikos stratimikosbelos stratimikosaztecoo stratimikosamesos stratimikosml
stratimikosifpack belostpetra belosepetra belos ml ifpack amesos galeri aztecoo
isorropia thyratpetra thyraepetraext thyraepetra thyra epetraext tpetrainout
tpetra triutils zoltan epetra kokkoslinalg kokkosnodeapi kokkos rtop sacado tpi
teuchos)
ifeq ($(enable-shared),yes)
lib-contrib-trilinos = \
$(addsuffix $(shared-lib-suffix), $(addprefix
$(DEAL_II_TRILINOS_LIBDIR)/lib, \
$(DEAL_II_TRILINOS_LIBS)))
else
lib-contrib-trilinos = \
$(addsuffix $(static-lib-suffix), $(addprefix
$(DEAL_II_TRILINOS_LIBDIR)/lib, \
$(DEAL_II_TRILINOS_LIBS)))
endif
endif
# Using dealii with MUMPS means we need to link the MUMPS library as
# well as bumping in its dependencies, ie, SCALAPCK and BLACS
ifeq ($(USE_CONTRIB_MUMPS),yes)
lib-contrib-mumps = $(DEAL_II_MUMPS_DIR)/lib/libdmumps.a \
$(DEAL_II_MUMPS_DIR)/lib/libmumps_common.a \
$(DEAL_II_MUMPS_DIR)/lib/libpord.a
lib-contrib-mumps += $(DEAL_II_SCALAPACK_DIR)/libscalapack.a
lib-contrib-mumps +=
$(DEAL_II_BLACS_DIR)/LIB/blacsCinit_$(DEAL_II_BLACS_ARCH).a \
$(DEAL_II_BLACS_DIR)/LIB/blacsF77init_$(DEAL_II_BLACS_ARCH).a \
$(DEAL_II_BLACS_DIR)/LIB/blacs_$(DEAL_II_BLACS_ARCH).a
endif
# Using dealii with ARPACK simply means adding the libarpack library
# with the right name
ifeq ($(USE_CONTRIB_ARPACK),yes)
lib-contrib-arpack = $(DEAL_II_ARPACK_DIR)/libarpack_$(DEAL_II_ARPACK_ARCH).a
endif
# deal with HSL; this should have been $(lib-contrib-hsl) but for a long time we
# accidentally had $(lib-hsl) -- so we simply make both symbols available
ifeq ($(USE_CONTRIB_HSL),yes)
lib-hsl = $(LIBDIR)/libhsl$(lib-suffix)
lib-contrib-hsl = $(lib-hsl)
endif
# need to link with libtbb if we're using threads
ifeq ($(enable-threads),yes)
lib-contrib-tbb.g = $D/lib/libtbb_debug$(shared-lib-suffix)
lib-contrib-tbb.o = $D/lib/libtbb$(shared-lib-suffix)
endif
# set paths to all the libraries we need:
lib-deal2.o = $(LIBDIR)/libdeal_II$(lib-suffix) \
$(lib-contrib-trilinos) \
$(lib-hsl) \
$(lib-contrib-petsc.o) $(DEAL_II_PETSC_MPIUNI_LIB) \
$(lib-contrib-slepc) \
$(lib-contrib-mumps) \
$(lib-contrib-metis) \
$(lib-contrib-tbb.o)
lib-deal2.g = $(LIBDIR)/libdeal_II.g$(lib-suffix) \
$(lib-contrib-trilinos) \
$(lib-hsl) \
$(lib-contrib-petsc.g) $(DEAL_II_PETSC_MPIUNI_LIB) \
$(lib-contrib-slepc) \
$(lib-contrib-mumps) \
$(lib-contrib-metis) \
$(lib-contrib-tbb.g)
# include paths. do not take into account a possibly existing
# environment variable, since the compiler will evaluate the value of
# that anyway at compile time
include-path-petsc = $(DEAL_II_PETSC_DIR)/include
ifeq ($(DEAL_II_PETSC_VERSION_MAJOR),2)
include-path-petsc-bmake = $(DEAL_II_PETSC_DIR)/bmake/$(DEAL_II_PETSC_ARCH)
else
include-path-petsc-bmake =
$(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/include
endif
include-path-slepc = $(DEAL_II_SLEPC_DIR)/include
include-path-slepc-conf = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
include-path-slepc-include =
$(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
endif
include-path-trilinos = $(DEAL_II_TRILINOS_INCDIR)
include-path-mumps = $(DEAL_II_MUMPS_DIR)/include
# include paths as command line flags. while compilers allow a space between
# the '-I' and the actual path, we also send these flags to the
# make_dependencies program that doesn't support the extra space.
#
# post 7.0 we use #include <deal.II/...> instead of just #include <...>
# but by providing two -I directives we can have it both ways.
INCLUDE = -I$D/include \
-I$D/include/deal.II \
-I/scratch/miket/src/intel/deal.II/contrib/boost-1.46.1/include \
-I/scratch/miket/src/intel/deal.II/contrib/umfpack/UMFPACK/Include
-I/scratch/miket/src/intel/deal.II/contrib/umfpack/AMD/Include \
-I$D/contrib \
-I$D/include
# add PETSc, SLEPSc, and Trilinos include paths if necessary. this rule
# (and the one further down below to get correct flags) should eventually
# be replaced by something where we do not blindly include PETSc make files
# (and thus import all of its variables), but rather set up a scheme to
# extract these values upon configuration
#
# also, note that this only works for PETSc before 2.3 :-]
ifeq ($(USE_CONTRIB_PETSC),yes)
ifeq ($(DEAL_II_PETSC_VERSION_MAJOR)$(DEAL_II_PETSC_VERSION_MINOR),22)
include $(DEAL_II_PETSC_DIR)/bmake/$(DEAL_II_PETSC_ARCH)/packages
endif
INCLUDE += -I$(include-path-petsc) -I$(include-path-petsc-bmake)\
$(MPI_INCLUDE)
endif
ifeq ($(USE_CONTRIB_SLEPC),yes)
INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf)
ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
INCLUDE += -I$(include-path-slepc-include)
endif
endif
ifeq ($(USE_CONTRIB_TRILINOS),yes)
INCLUDE += -I$(include-path-trilinos)
endif
ifeq ($(USE_CONTRIB_MUMPS),yes)
INCLUDE += -I$(include-path-mumps)
endif
ifeq ($(enable-threads),yes)
INCLUDE += -I$(shell echo $D/contrib/tbb/tbb*/include)
endif
# compiler flags for debug and optimized mode
CXXFLAGS.g = -DHAVE_CONFIG_H -DHAVE_ISNAN -g -DBOOST_NO_HASH
-DBOOST_NO_SLIST -DDEBUG -w1 -wd175 -wd525 -wd327 -wd424 -wd11 -wd734 -wd858
-wd1572 -fPIC -I/g/software/p4est/0.3.4/intel_11.1/openmpi_1.4.3/DEBUG/include
$(INCLUDE)
CXXFLAGS.o = -DHAVE_CONFIG_H -DHAVE_ISNAN -DBOOST_NO_HASH -DBOOST_NO_SLIST
-O2 -unroll -w0 -wd424 -wd11 -opt-report 0 -vec-report0 -fPIC
-I/g/software/p4est/0.3.4/intel_11.1/openmpi_1.4.3/FAST/include $(INCLUDE)
F77FLAGS.g = -DHAVE_CONFIG_H -ggdb -DDEBUG -pedantic -W -Wall -fPIC
$(INCLUDE)
F77FLAGS.o = -DHAVE_CONFIG_H -O2 -funroll-loops -funroll-all-loops
-fstrict-aliasing -fPIC $(INCLUDE)
# compile flags for C compiler
CFLAGS.g = -fPIC
CFLAGS.o = -O2 -unroll -opt-report 0 -vec-report0 -ansi_alias -vec_report0
-mcpu=pentium4 -fPIC
# if in debug mode, add TBB assertions
ifeq ($(enable-threads),yes)
CXXFLAGS.g += -DTBB_DO_ASSERT=1
endif
# PETSc wants to see a whole lot of other flags being passed...
ifeq ($(USE_CONTRIB_PETSC),yes)
# set PETSC_DIR and PETSC_ARCH to be used in variables file
PETSC_DIR = $(DEAL_II_PETSC_DIR)
PETSC_ARCH = $(DEAL_II_PETSC_ARCH)
ifeq ($(DEAL_II_PETSC_VERSION_MAJOR),2)
ifeq ($(DEAL_II_PETSC_VERSION_MINOR),2)
include $(DEAL_II_PETSC_DIR)/bmake/$(DEAL_II_PETSC_ARCH)/variables
else
include $(DEAL_II_PETSC_DIR)/bmake/common/variables
endif
else
# PETSC's $(PETSC_ARCH)/conf/petscvariables include file happens
# to have a variable $(CXX) of itself. we need to save our own
# variable and restore it later. this isn't pretty :-(
SAVE_CXX := $(CXX)
include $(DEAL_II_PETSC_DIR)/conf/variables
CXX := $(SAVE_CXX)
endif
CXXFLAGS.g += $(GCXX_PETSCFLAGS)
CXXFLAGS.o += $(OCXX_PETSCFLAGS)
endif
ifneq ($(enable-threads),no)
MT = MT
else
MT = ==
endif
ifeq ($(BUILDTEST),yes)
print-summary:
@echo "dealii-feature: revision=`svn info .. | grep Revision | sed
's/Revision: //'`"
@echo "dealii-feature: user=$(USER)"
@echo "dealii-feature: host=`hostname`"
@echo "dealii-feature: target=$(TARGET)"
@echo "dealii-feature: compiler=$(GXX-VERSION-DETAILED)"
@echo "dealii-feature: multithreading=$(enable-threads)"
@echo "dealii-feature: shared_libs=$(enable-shared)"
@echo "dealii-feature: parser=$(subst no,,$(enable-parser))"
@echo "dealii-feature: PETSc=$(subst
..,,$(DEAL_II_PETSC_VERSION_MAJOR).$(DEAL_II_PETSC_VERSION_MINOR).$(DEAL_II_PETSC_VERSION_SUBMINOR))"
@echo "dealii-feature: METIS=$(subst no,,$(USE_CONTRIB_METIS))"
@cd $D/common/scripts ; make report_features && ./report_features
endif
# $Id: Makefile 24263 2011-09-06 12:14:00Z young $
# Copyright W. Bangerth, 2003
# deal.II top level directory
D=../..
include $D/common/Make.global_options
default: make_dependencies$(EXEEXT) expand_instantiations$(EXEEXT) \
report_features$(EXEEXT)
# rules to generate the program. let is be dependent on the global flags for
# the following reason: if you go to a different system, but keep with the
# same directory, you get into trouble because make_dependencies is not
# deleted by "make clean"; following this, we generate empty Makefile.dep's
# because we can't run the executable. So better be careful and regenerate
# make_dependencies whenever we think it may be beneficial
make_dependencies$(EXEEXT) : make_dependencies.cc $D/common/Make.global_options
@echo ===================================== Compiling $@
@$(CXX) $(CXXFLAGS.o) $(LDFLAGS) $< -o $@
expand_instantiations$(EXEEXT) : expand_instantiations.cc
$D/common/Make.global_options
@echo ===================================== Compiling $@
@$(CXX) $(CXXFLAGS.o) $(LDFLAGS) $< -o $@
report_features$(EXEEXT) : report_features.cc $D/common/Make.global_options
@echo ===================================== Compiling $@
@$(CXX) $(CXXFLAGS.o) $(LDFLAGS) $< -o $@
clean:
-rm -f make_dependencies$(EXEEXT)
-rm -f make_dependencies.o
-rm -f expand_instantiations$(EXEEXT)
-rm -f expand_instantiations.o
.PHONY: clean
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
