[Dune] [#691] Bug in superlu.m4

Dune flyspray at dune-project.org
Fri Dec 11 13:28:59 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Atgeirr Flø Rasmussen (atgeirr) 

Attached to Project - Dune
Summary - Bug in superlu.m4
Task Type - Bug Report
Category - Common
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - 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"


More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=691

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list