ports/92832: update to math/superlu
Pedro F.Giffuni
giffunip at asme.org
Sun Feb 5 01:50:04 UTC 2006
>Number: 92832
>Category: ports
>Synopsis: update to math/superlu
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 05 01:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Pedro F.Giffuni
>Release: 6.0-Release (amd64)
>Organization:
>Environment:
FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #11: Thu Feb 2 23:55:44 COT 2006 root at etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION amd64
>Description:
A new version of SuperLU 3.0 has been released. That changed the names of the header files so we need need this port updated before committing ports/92782 (an update to tochnog)
This port is maintained by Maho and I expect his review of my (quick) patch.
>How-To-Repeat:
>Fix:
Patch follows:
diff -ruN superlu.orig/Makefile superlu/Makefile
--- superlu.orig/Makefile Sat Mar 19 04:36:48 2005
+++ superlu/Makefile Sat Feb 4 19:52:24 2006
@@ -6,15 +6,16 @@
#
PORTNAME= superlu
-PORTVERSION= 3.0.20041202
+PORTVERSION= 3.0
+DISTVERSION= 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}_${PORTVERSION}
.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 at FreeBSD.org
@@ -23,7 +24,7 @@
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/SuperLU_3.0
+WRKSRC= ${WRKDIR}/SuperLU_${PORTVERSION}
ALL_TARGET= superlulib
BLAS_LIBS= ${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a
@@ -48,7 +49,8 @@
.endfor
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libsuperlu_${PORTVERSION}.a \
+ ${PREFIX}/lib/libsuperlu.a
@${MKDIR} ${PREFIX}/include/superlu
${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${PREFIX}/include/superlu
.if !defined(NOPORTDOCS)
diff -ruN superlu.orig/distinfo superlu/distinfo
--- superlu.orig/distinfo Sun Jan 22 07:56:45 2006
+++ superlu/distinfo Sat Feb 4 19:24:43 2006
@@ -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 -ruN superlu.orig/files/patch-make.inc superlu/files/patch-make.inc
--- superlu.orig/files/patch-make.inc Thu Apr 1 06:38:49 2004
+++ superlu/files/patch-make.inc Sat Feb 4 19:28:31 2006
@@ -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 -ruN superlu.orig/pkg-descr superlu/pkg-descr
--- superlu.orig/pkg-descr Tue Jun 10 18:47:18 2003
+++ superlu/pkg-descr Sat Feb 4 19:45:55 2006
@@ -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 at cs.berkeley.edu
- John Gilbert gilbert at parc.xerox.com
- Xiaoye S. Li xiaoye at cs.berkeley.edu
+Developers: Sherry Li
+ Jim Demmel
+ John Gilbert
NOTE: This library has to be linked with BLAS or a compatible library.
diff -ruN superlu.orig/pkg-plist superlu/pkg-plist
--- superlu.orig/pkg-plist Mon Sep 27 02:30:31 2004
+++ superlu/pkg-plist Sat Feb 4 19:52:39 2006
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list