aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2006-02-13 02:33:44 +0000
committerMaho Nakata <maho@FreeBSD.org>2006-02-13 02:33:44 +0000
commit60ae738eae1b7a1bc6529b5f5ec2dbed06a683e2 (patch)
tree0153bc6540a3d2b73b926fb145e670ede532779f /math
parentb3a8e1161b6e70f5fb6962d293ba78bed9e51de0 (diff)
downloadports-60ae738eae1b7a1bc6529b5f5ec2dbed06a683e2.tar.gz
ports-60ae738eae1b7a1bc6529b5f5ec2dbed06a683e2.zip
Update to 20060201 version of SuperLU
Submitted by: Pedro F.Giffuni
Notes
Notes: svn path=/head/; revision=155888
Diffstat (limited to 'math')
-rw-r--r--math/superlu/Makefile15
-rw-r--r--math/superlu/distinfo6
-rw-r--r--math/superlu/files/patch-make.inc26
-rw-r--r--math/superlu/pkg-descr38
-rw-r--r--math/superlu/pkg-plist17
5 files changed, 42 insertions, 60 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index 69e0abf90a78..ee837995ec98 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= superlu
-PORTVERSION= 3.0.20041202
+DISTVERSION= ${P_VERSION}.20060201
CATEGORIES= math
-MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/ \
- http://crd.lbl.gov/~xiaoye/
-DISTNAME= ${PORTNAME}_3.0
+MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/
+DISTNAME= ${PORTNAME}_${P_VERSION}
.ifndef NOPORTDOCS
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} superlu_ug.ps.gz SLU_general.ps.gz simax95.ps.gz
.endif
-DIST_SUBDIR= superlu
+DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= maho@FreeBSD.org
@@ -22,8 +21,9 @@ COMMENT= A library of routines for performing sparse factorization
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas
+P_VERSION= 3.0
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/SuperLU_3.0
+WRKSRC= ${WRKDIR}/SuperLU_${P_VERSION}
ALL_TARGET= superlulib
BLAS_LIBS= ${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a
@@ -48,7 +48,8 @@ post-patch:
.endfor
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libsuperlu_${P_VERSION}.a \
+ ${PREFIX}/lib/libsuperlu.a
@${MKDIR} ${PREFIX}/include/superlu
${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${PREFIX}/include/superlu
.if !defined(NOPORTDOCS)
diff --git a/math/superlu/distinfo b/math/superlu/distinfo
index 37b46c1e4aff..f91f9c2151b2 100644
--- a/math/superlu/distinfo
+++ b/math/superlu/distinfo
@@ -1,6 +1,6 @@
-MD5 (superlu/superlu_3.0.tar.gz) = 0cd23cdc83d3e8600506c74b159f9d2b
-SHA256 (superlu/superlu_3.0.tar.gz) = 60efd4b9061f0d92a2ec7e71182e70f9afaae72e12bb7ff10a5cd4bc32a71ae4
-SIZE (superlu/superlu_3.0.tar.gz) = 1125209
+MD5 (superlu/superlu_3.0.tar.gz) = 1d1bf4c81d1d6b60a315c14f6bcddfaf
+SHA256 (superlu/superlu_3.0.tar.gz) = d0132a3a2fb6269dc8faa0b9ea9611764e8ca31265441f64cfc80485a86d5784
+SIZE (superlu/superlu_3.0.tar.gz) = 1134160
MD5 (superlu/superlu_ug.ps.gz) = 0d712ba0b2cc2a82fe7621050b0e299a
SHA256 (superlu/superlu_ug.ps.gz) = 3e22d349f1f5288cfce768909b2e91ad3b95ee656d546cbbbacc3bf1a6ff1f76
SIZE (superlu/superlu_ug.ps.gz) = 204281
diff --git a/math/superlu/files/patch-make.inc b/math/superlu/files/patch-make.inc
index f26f48e7a13c..acdc2234e2a8 100644
--- a/math/superlu/files/patch-make.inc
+++ b/math/superlu/files/patch-make.inc
@@ -1,26 +1,6 @@
---- make.inc.orig Thu Jan 22 09:45:17 2004
-+++ make.inc Thu Apr 1 20:34:07 2004
-@@ -16,14 +16,15 @@
- #
- # The machine (platform) identifier to append to the library names
- #
--PLAT = _solaris
-+#PLAT =
-
- #
- # The name of the libraries to be created/linked to
- #
--TMGLIB = tmglib$(PLAT).a
--SUPERLULIB = superlu$(PLAT).a
--BLASLIB = ../blas$(PLAT).a
-+TMGLIB = libtmg.a
-+SUPERLULIB = libsuperlu.a
-+BLASDEF = -DUSE_VENDOR_BLAS
-+BLASLIB = %%BLAS_LIBS%%
-
- #
- # The archiver and the flag(s) to use when building archive (library)
-@@ -33,12 +34,12 @@
+--- make.inc.orig Sun Jan 1 18:52:00 2006
++++ make.inc Sat Feb 4 19:25:37 2006
+@@ -29,12 +29,12 @@
ARCHFLAGS = cr
RANLIB = ranlib
diff --git a/math/superlu/pkg-descr b/math/superlu/pkg-descr
index 51f1af7e5fe7..48edb218646f 100644
--- a/math/superlu/pkg-descr
+++ b/math/superlu/pkg-descr
@@ -1,24 +1,24 @@
- SuperLU (Version 2.0)
+ SuperLU (Version 3.0)
=====================
-SuperLU contains a set of subroutines to solve a sparse linear system
-A*X=B. It uses Gaussian elimination with partial pivoting (GEPP).
-The columns of A may be preordered before factorization; the
-preordering for sparsity is completely separate from the factorization.
+SuperLU is a general purpose library for the direct solution of large,
+sparse, nonsymmetric systems of linear equations on high performance
+machines. The library is written in C and is callable from either C or
+Fortran. The library routines will perform an LU decomposition with
+partial pivoting and triangular system solves through forward and back
+substitution. The LU factorization routines can handle non-square matrices
+but the triangular solves are performed only for square matrices. The
+matrix columns may be preordered (before factorization) either through
+library or user supplied routines. This preordering for sparsity is
+completely separate from the factorization. Working precision iterative
+refinement subroutines are provided for improved backward stability.
+Routines are also provided to equilibrate the system, estimate the
+condition number, calculate the relative backward error, and estimate
+error bounds for the refined solutions.
-SuperLU is implemented in ANSI C, and must be compiled with standard
-ANSI C compilers. It provides functionality for both real and complex
-matrices, in both single and double precision. The file names for the
-single-precision real version start with letter "s" (such as sgstrf.c);
-the file names for the double-precision real version start with letter "d"
-(such as dgstrf.c); the file names for the single-precision complex
-version start with letter "c" (such as cgstrf.c); the file names
-for the double-precision complex version start with letter "z"
-(such as zgstrf.c).
+WWW: http://crd.lbl.gov/~xiaoye/SuperLU/
-WWW: http://www.nersc.gov/~xiaoye/SuperLU/
-
-Authors: Jim Demmel demmel@cs.berkeley.edu
- John Gilbert gilbert@parc.xerox.com
- Xiaoye S. Li xiaoye@cs.berkeley.edu
+Developers: Sherry Li
+ Jim Demmel
+ John Gilbert
NOTE: This library has to be linked with BLAS or a compatible library.
diff --git a/math/superlu/pkg-plist b/math/superlu/pkg-plist
index 30f55b70439e..898bc995ce15 100644
--- a/math/superlu/pkg-plist
+++ b/math/superlu/pkg-plist
@@ -1,13 +1,14 @@
-include/superlu/Cnames.h
include/superlu/colamd.h
-include/superlu/csp_defs.h
-include/superlu/dcomplex.h
-include/superlu/dsp_defs.h
-include/superlu/scomplex.h
-include/superlu/ssp_defs.h
+include/superlu/old_colamd.h
+include/superlu/slu_Cnames.h
+include/superlu/slu_cdefs.h
+include/superlu/slu_dcomplex.h
+include/superlu/slu_ddefs.h
+include/superlu/slu_scomplex.h
+include/superlu/slu_sdefs.h
+include/superlu/slu_util.h
+include/superlu/slu_zdefs.h
include/superlu/supermatrix.h
-include/superlu/util.h
-include/superlu/zsp_defs.h
lib/libsuperlu.a
@dirrm include/superlu
%%PORTDOCS%%%%DOCSDIR%%/SLU_general.ps.gz