pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/superlu Update to 3.0 since the 2.0 tarball has c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a26dd278e14
branches:  trunk
changeset: 463446:3a26dd278e14
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 11 11:53:56 2003 +0000

description:
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:

 math/superlu/Makefile         |  11 ++++++-----
 math/superlu/distinfo         |   9 +++++----
 math/superlu/patches/patch-aa |  26 +++++++++++++-------------
 math/superlu/patches/patch-ab |  22 ++++++++++++++++++++++
 4 files changed, 46 insertions(+), 22 deletions(-)

diffs (125 lines):

diff -r 6af8411ed200 -r 3a26dd278e14 math/superlu/Makefile
--- a/math/superlu/Makefile     Tue Nov 11 10:49:48 2003 +0000
+++ b/math/superlu/Makefile     Tue Nov 11 11:53:56 2003 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2003/07/17 21:48:12 grant Exp $
+# $NetBSD: Makefile,v 1.10 2003/11/11 11:53:56 wiz Exp $
 
-DISTNAME=              superlu_2.0
-PKGNAME=               superlu-2.0
-PKGREVISION=           2
-WRKSRC=                        ${WRKDIR}/SuperLU
+DISTNAME=              superlu_3.0
+PKGNAME=               superlu-3.0
+WRKSRC=                        ${WRKDIR}/SuperLU_3.0
 CATEGORIES=            math
 MASTER_SITES=          http://www.nersc.gov/~xiaoye/SuperLU/
 
@@ -17,6 +16,8 @@
 EVAL_PREFIX+=          BLAS_PREFIX=blas
 
 ALL_TARGET=            superlulib
+TEST_DIRS=             ${WRKSRC}/TESTING/MATGEN ${WRKSRC}/TESTING
+TEST_TARGET=           all
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/libsuperlu.a ${PREFIX}/lib
diff -r 6af8411ed200 -r 3a26dd278e14 math/superlu/distinfo
--- a/math/superlu/distinfo     Tue Nov 11 10:49:48 2003 +0000
+++ b/math/superlu/distinfo     Tue Nov 11 11:53:56 2003 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2003/01/22 22:07:30 kristerw Exp $
+$NetBSD: distinfo,v 1.4 2003/11/11 11:53:56 wiz Exp $
 
-SHA1 (superlu_2.0.tar.gz) = 7c36f8f6126c0e970f20d70a165088493c9a1d3c
-Size (superlu_2.0.tar.gz) = 1075823 bytes
-SHA1 (patch-aa) = bd4520f474a6bcac6e5420aa4cb7a501bb2cd8d5
+SHA1 (superlu_3.0.tar.gz) = 8c05fc06fe4e349d9945e3164fd1d3efc8fcc991
+Size (superlu_3.0.tar.gz) = 1105196 bytes
+SHA1 (patch-aa) = 196ec71f5bd05f92462e27f050a500d094d28c16
+SHA1 (patch-ab) = 568122da7d4879e967725ae15bc69b103cedddc6
diff -r 6af8411ed200 -r 3a26dd278e14 math/superlu/patches/patch-aa
--- a/math/superlu/patches/patch-aa     Tue Nov 11 10:49:48 2003 +0000
+++ b/math/superlu/patches/patch-aa     Tue Nov 11 11:53:56 2003 +0000
@@ -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 @@
 -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 @@
 -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 -r 6af8411ed200 -r 3a26dd278e14 math/superlu/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/superlu/patches/patch-ab     Tue Nov 11 11:53:56 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index