]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure BLAS and LAPACK are there if we want to link in ARPACK
authorToby D. Young <tyoung@ippt.pan.pl>
Fri, 27 Aug 2010 15:31:03 +0000 (15:31 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Fri, 27 Aug 2010 15:31:03 +0000 (15:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@21753 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure.in

index b7fc57ad3e185fc9c08cf5e9da7626f34b42b544..82c82ada555e2692b558ef86f787aeb5026eebab 100644 (file)
@@ -447,9 +447,7 @@ AC_SUBST(DEAL_II_BLACS_ARCH)
 AC_SUBST(DEAL_II_DEFINE_DEAL_II_USE_MUMPS)
 
 dnl Make sure we configure for libraries used by other libraries. For
-dnl example, UMFPACK needs blas, and so does LAPACK
-
-
+dnl example, UMFPACK needs blas, and so does LAPACK. 
 if test "x$with_umfpack" != "x" -a "x$with_umfpack" != "xno" ; then
   if test "x$with_blas" = "x" -o "x$with_blas" = "xno"; then
     with_blas="yes"
@@ -462,6 +460,15 @@ if test "x$with_lapack" != "x" -a "x$with_lapack" != "xno" ; then
   fi
 fi
 
+dnl ARPACK wants to see BLAS nd LAPACK too.
+if test "x$with_arpack" != "x" -a "x$with_arpack" != "xno" ; then
+  if test "x$with_blas" = "x" -o "x$with_blas" = "xno"; then
+    with_blas="yes"
+  fi
+  if test "x$with_lapack" = "x" -o "x$with_lapack" = "xno"; then
+    with_lapack="yes"
+  fi
+fi
 
 dnl Likewise, if we use PETSc and link statically, we have to add blas to the
 dnl linker line (if we use shared libs, then the PETSc libs already carry this

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.