SOURCES: UFconfig-config.patch (NEW) - teach UFconfig about system...

baggins baggins at pld-linux.org
Fri Dec 7 02:34:53 CET 2007


Author: baggins                      Date: Fri Dec  7 01:34:53 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- teach UFconfig about system blas, fortran and metis

---- Files affected:
SOURCES:
   UFconfig-config.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/UFconfig-config.patch
diff -u /dev/null SOURCES/UFconfig-config.patch:1.1
--- /dev/null	Fri Dec  7 02:34:53 2007
+++ SOURCES/UFconfig-config.patch	Fri Dec  7 02:34:48 2007
@@ -0,0 +1,32 @@
+diff -ur UFconfig/UFconfig.mk UFconfig-config/UFconfig.mk
+--- UFconfig/UFconfig.mk	2006-12-12 19:52:47.000000000 +0100
++++ UFconfig-config/UFconfig.mk	2007-12-07 02:27:46.000000000 +0100
+@@ -43,7 +43,7 @@
+ MV = mv -f
+ 
+ # Fortran compiler (not normally required)
+-F77 = f77
++F77 = gfortran
+ F77FLAGS = -O
+ F77LIB =
+ 
+@@ -73,7 +73,7 @@
+ # These settings will probably not work, since there is no fixed convention for
+ # naming the BLAS and LAPACK library (*.a or *.so) files.  Assume the Goto
+ # BLAS are available.
+-BLAS = -lgoto -lgfortran -lgfortranbegin
++BLAS = -lblas
+ LAPACK = -llapack
+ 
+ # The BLAS might not contain xerbla, an error-handling routine for LAPACK and
+@@ -102,8 +102,8 @@
+ # The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc.
+ # You may wish to use an absolute path.  METIS is optional.  Compile
+ # CHOLMOD with -DNPARTITION if you do not wish to use METIS.
+-METIS_PATH = ../../metis-4.0
+-METIS = ../../metis-4.0/libmetis.a
++METIS_PATH = /usr/include/metis
++METIS = -lmetis
+ 
+ # If you use CHOLMOD_CONFIG = -DNPARTITION then you must use the following
+ # options:
================================================================


More information about the pld-cvs-commit mailing list