From 3e590af6e8dbb1928d3ca2c8b58a58c17a2724d1 Mon Sep 17 00:00:00 2001 From: "Toby D. Young" Date: Thu, 26 Aug 2010 14:20:44 +0000 Subject: [PATCH] Actually bind ARPACK into lib/liblac git-svn-id: https://svn.dealii.org/trunk@21723 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/Make.global_options.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index ecb52ede24..2607596ac3 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -173,7 +173,7 @@ ifeq ($(USE_CONTRIB_PETSC),yes) endif # USE_CONTRIB_PETSC ifeq ($(USE_CONTRIB_SLEPC),yes) - lib-contrib-slepc = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/lib/libslepc$(lib-suffix) + 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 @@ -220,7 +220,7 @@ ifeq ($(USE_CONTRIB_TRILINOS),yes) endif # Using dealii with MUMPS means we need to link the MUMPS library as -# well as its dependencies, ie, SCALAPCK and BLACS +# 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 \ @@ -231,6 +231,12 @@ ifeq ($(USE_CONTRIB_MUMPS),yes) $(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) @@ -257,12 +263,14 @@ lib-lac.o = $(LIBDIR)/liblac$(lib-suffix) \ $(lib-contrib-petsc.o) $(DEAL_II_PETSC_MPIUNI_LIB) \ $(lib-contrib-slepc) \ $(lib-contrib-mumps) \ + $(lib-contrib-arpack) \ $(lib-contrib-metis) lib-lac.g = $(LIBDIR)/liblac.g$(lib-suffix) \ $(lib-hsl) \ $(lib-contrib-petsc.g) $(DEAL_II_PETSC_MPIUNI_LIB) \ $(lib-contrib-slepc) \ $(lib-contrib-mumps) \ + $(lib-contrib-arpack) \ $(lib-contrib-metis) lib-deal2-1d.o = $(LIBDIR)/libdeal_II_1d$(lib-suffix) -- 2.39.5