#691 Bug in superlu.m4
Metadata
Property | Value |
---|---|
Reported by | Atgeirr Flø Rasmussen (atgeirr@sintef.no) |
Reported at | Dec 11, 2009 12:28 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Aug 24, 2010 13:05 |
Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Closed at | Aug 24, 2010 13:05 |
Closed in version | Unknown |
Resolution | Fixed |
Comment |
Description
Configuration of superlu fails if --with-superlu-blaslib is not used. The following patch should fix that problem.
Index: m4/superlu.m4
--- m4/superlu.m4 (revision 5768)
+++ m4/superlu.m4 (working copy)
@@ -101,8 +101,11 @@
# defaultpath
SUPERLU_LIB_PATH="with_superlu/
my_lib_path"
SUPERLU_INCLUDE_PATH="with_superlu/
my_include_path"
-
SUPERLU_BLAS_LIB=""
-
if test x$with_superlu_blaslib != x; then
-
SUPERLU_BLAS_LIB="$SUPERLU_LIB_PATH/$with_superlu_blaslib"
-
fi
-
# set variables so that tests can use them CPPFLAGS="$CPPFLAGS -I$SUPERLU_INCLUDE_PATH"
@@ -141,7 +144,7 @@
AC_MSG_CHECKING([static superlu library "with_superlu_lib" in "
SUPERLU_LIB_PATH"])
echo "BLAS_LIBS=BLAS_LIBS LIBS=
LIBS"
if test -f "SUPERLU_LIB_PATH/
with_superlu_lib" ; then
-
LIBS="$SUPERLU_LIB_PATH/$with_superlu_lib $SUPERLU_LIB_PATH/$with_superlu_blaslib $LIBS"
-
LIBS="$SUPERLU_LIB_PATH/$with_superlu_lib $SUPERLU_BLAS_LIB $LIBS" AC_CHECK_FUNC(dgssvx, [ SUPERLU_LIBS="$LIBS"