diff options
author | wiz <wiz@pkgsrc.org> | 2003-11-11 11:53:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-11-11 11:53:56 +0000 |
commit | bfd506f825bfa02c7cc9ae57615b3b587396249c (patch) | |
tree | e999d532bca05609aadea8fe53b2f0eb86bab4f1 /math/superlu/patches | |
parent | d83bc497164287de9df87251db0c5a6e822af5fd (diff) | |
download | pkgsrc-bfd506f825bfa02c7cc9ae57615b3b587396249c.tar.gz |
Update to 3.0 since the 2.0 tarball has changed.
Changes:
* Version 3.0, 10-15-03
- add "options" and "stat" argument for the driver routines
DGSSV/DGSSVX. This interface is more user-friendly and flexible.
- add more examples in EXAMPLE/
- add a "symmetric mode" with better performance when the matrix is
symmetric, or diagonal dominant, or positive definite, or nearly so.
Also, make 'test' target do something.
Diffstat (limited to 'math/superlu/patches')
-rw-r--r-- | math/superlu/patches/patch-aa | 26 | ||||
-rw-r--r-- | math/superlu/patches/patch-ab | 22 |
2 files changed, 35 insertions, 13 deletions
diff --git a/math/superlu/patches/patch-aa b/math/superlu/patches/patch-aa index fd97af5b5ef..adcce2518d3 100644 --- a/math/superlu/patches/patch-aa +++ b/math/superlu/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/02/02 01:24:09 jtb Exp $ +$NetBSD: patch-aa,v 1.2 2003/11/11 11:53:56 wiz Exp $ ---- make.inc.orig Tue Feb 15 21:29:45 2000 +--- make.inc.orig Sat Oct 11 00:24:49 2003 +++ make.inc @@ -16,30 +16,31 @@ # @@ -17,7 +17,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/02/02 01:24:09 jtb Exp $ -BLASLIB = ../blas$(PLAT).a +TMGLIB = tmglib.a +SUPERLULIB = libsuperlu.a -+BLASDEF = -DUSE_VENDOR_BLAS ++BLASDEF = -DUSE_VENDOR_BLAS +BLASLIB = -L${BLAS_PREFIX}/lib -lblas # @@ -27,27 +27,27 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/02/02 01:24:09 jtb Exp $ -ARCH = ar -ARCHFLAGS = cr -RANLIB = ranlib -+ARCH = $(AR) ++ARCH = ${AR} +ARCHFLAGS = cru +#RANLIB = ranlib -CC = cc --CFLAGS = -xO3 -xcg92 -+# CC = cc -+#CFLAGS = -xO3 -xcg92 - #CFLAGS = -Wall -O2 +-CFLAGS = -g -DDEBUGlevel=1 #-xO3 -xcg92 ++#CC = cc ++#CFLAGS = -g -DDEBUGlevel=1 #-xO3 -xcg92 + #CFLAGS = -Wall -g #-O2 -FORTRAN = f77 -FFLAGS = -O -LOADER = cc --LOADOPTS = #-xO3 -+FORTRAN = $(FC) +-LOADOPTS = -g #-xO3 ++FORTRAN = ${FC} +#FFLAGS = -O -+LOADER = $(CC) -+LOADOPTS = $(LDFLAGS) ++LOADER = ${CC} ++LOADOPTS = ${LDFLAGS} # # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase) -@@ -48,4 +49,4 @@ +@@ -48,4 +49,4 @@ CDEFS = -DAdd_ # # The directory in which Matlab is installed # diff --git a/math/superlu/patches/patch-ab b/math/superlu/patches/patch-ab new file mode 100644 index 00000000000..6296722166f --- /dev/null +++ b/math/superlu/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2003/11/11 11:53:56 wiz Exp $ + +--- TESTING/dtest.csh.orig Thu Oct 2 01:27:24 2003 ++++ TESTING/dtest.csh +@@ -26,7 +26,7 @@ foreach m ($MATRICES) + foreach l ($LWORK) + echo '' >> $ofile + echo 'n='$n 'nrhs='$s 'lwork='$l >> $ofile +- dtest -t "LA" -l $l -n $n -s $s >> $ofile ++ ./dtest -t "LA" -l $l -n $n -s $s >> $ofile + end + end + end +@@ -40,7 +40,7 @@ foreach m ($MATRICES) + foreach l ($LWORK) + echo '' >> $ofile + echo 'nrhs='$s 'lwork='$l >> $ofile +- dtest -t "SP" -s $s -l $l < ../EXAMPLE/$m >> $ofile ++ ./dtest -t "SP" -s $s -l $l < ../EXAMPLE/$m >> $ofile + end + end + endif |