Update to 20060201 version of SuperLU

Submitted by:	Pedro F.Giffuni
This commit is contained in:
Maho Nakata 2006-02-13 02:33:44 +00:00
parent b3a8e1161b
commit 60ae738eae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155888
5 changed files with 42 additions and 60 deletions

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -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