diff options
-rw-r--r-- | math/umfpack/Makefile | 29 | ||||
-rw-r--r-- | math/umfpack/distinfo | 1 | ||||
-rw-r--r-- | math/umfpack/files/patch-aa | 19 | ||||
-rw-r--r-- | math/umfpack/files/patch-ba | 84 | ||||
-rw-r--r-- | math/umfpack/pkg-comment | 1 | ||||
-rw-r--r-- | math/umfpack/pkg-descr | 36 | ||||
-rw-r--r-- | math/umfpack/pkg-message | 29 | ||||
-rw-r--r-- | math/umfpack/pkg-plist | 2 |
8 files changed, 201 insertions, 0 deletions
diff --git a/math/umfpack/Makefile b/math/umfpack/Makefile new file mode 100644 index 000000000000..04f3f0b5687f --- /dev/null +++ b/math/umfpack/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: UMFPACK +# Version required: 2.2 +# Date created: 5 Nov 97 +# Whom: Pedro Giffuni <giffunip@asme.org> +# +# $Id$ +# + +DISTNAME= umfpack2.2 +PKGNAME= umfpack-2.2 +CATEGORIES= math +MASTER_SITES= http://netlib.bell-labs.com/netlib/linalg/ + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${PREFIX}/lib/libblas.a:${PORTSDIR}/math/blas + +NO_CDROM= 'Must not be sold' +WRKSRC= ${WRKDIR}/UMFPACK2.2 +ALL_TARGET= libumfpack.a + +do-install: + $(INSTALL_DATA) ${WRKSRC}/libumfpack.a ${PREFIX}/lib +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/umfpack + ${GZIP_CMD} ${WRKSRC}/README + ${INSTALL_DATA} ${WRKSRC}/README.gz ${PREFIX}/share/doc/umfpack +.endif +.include <bsd.port.mk> diff --git a/math/umfpack/distinfo b/math/umfpack/distinfo new file mode 100644 index 000000000000..ea09e30ab233 --- /dev/null +++ b/math/umfpack/distinfo @@ -0,0 +1 @@ +MD5 (umfpack2.2.tar.gz) = 37bd9386b2f06a48a76559af600969db diff --git a/math/umfpack/files/patch-aa b/math/umfpack/files/patch-aa new file mode 100644 index 000000000000..abbcb8645e3d --- /dev/null +++ b/math/umfpack/files/patch-aa @@ -0,0 +1,19 @@ +*** Makefile.orig Mon Jul 7 12:03:46 1997 +--- Makefile Sun Dec 14 15:18:13 1997 +*************** +*** 19,25 **** + umz2er.o umz2p1.o umz2p2.o \ + umz2rf.o umz2ra.o umz2r0.o umz2r2.o umz2rg.o umz21i.o + +! HARWELL = mc21b.o mc13e.o + + BLASLIB = libblas.a + UMFPACKLIB = libumfpack.a +--- 19,25 ---- + umz2er.o umz2p1.o umz2p2.o \ + umz2rf.o umz2ra.o umz2r0.o umz2r2.o umz2rg.o umz21i.o + +! #HARWELL = mc21b.o mc13e.o + + BLASLIB = libblas.a + UMFPACKLIB = libumfpack.a diff --git a/math/umfpack/files/patch-ba b/math/umfpack/files/patch-ba new file mode 100644 index 000000000000..6ac80f2b2a40 --- /dev/null +++ b/math/umfpack/files/patch-ba @@ -0,0 +1,84 @@ +Note: Although the Harwell routines are available in Netlib, they are a +commercial product. This patch disables their use. + +*** umc2fb.f.orig Fri Nov 7 11:32:20 1997 +--- umc2fb.f Fri Nov 7 11:43:14 1997 +*************** +*** 168,173 **** +--- 168,177 ---- + C if (MC21B and MC13E not available during installation) return + C======================================================================= + ++ RETURN ++ C======================================================================= ++ C The rest will be ignored !!!!!!!! (We are not using Harwell) ++ C======================================================================= + NZDIA = NZ + NZOFF = 0 + +*** umd2fb.f.orig Fri Nov 7 11:32:30 1997 +--- umd2fb.f Fri Nov 7 11:44:14 1997 +*************** +*** 167,173 **** + C EXECUTABLE STATEMENTS: + C if (MC21B and MC13E not available during installation) return + C======================================================================= +! + NZDIA = NZ + NZOFF = 0 + +--- 167,176 ---- + C EXECUTABLE STATEMENTS: + C if (MC21B and MC13E not available during installation) return + C======================================================================= +! RETURN +! C======================================================================= +! C The rest will be ignored !!!!!!!! (We are not using Harwell) +! C======================================================================= + NZDIA = NZ + NZOFF = 0 + +*** ums2fb.f.orig Fri Nov 7 11:32:44 1997 +--- ums2fb.f Fri Nov 7 11:44:54 1997 +*************** +*** 167,173 **** + C EXECUTABLE STATEMENTS: + C if (MC21B and MC13E not available during installation) return + C======================================================================= +! + NZDIA = NZ + NZOFF = 0 + +--- 167,176 ---- + C EXECUTABLE STATEMENTS: + C if (MC21B and MC13E not available during installation) return + C======================================================================= +! RETURN +! C======================================================================= +! C The rest will be ignored !!!!!!!! (We are not using Harwell) +! C======================================================================= + NZDIA = NZ + NZOFF = 0 + +*** umz2fb.f.orig Fri Nov 7 11:32:57 1997 +--- umz2fb.f Fri Nov 7 11:45:42 1997 +*************** +*** 167,173 **** + C EXECUTABLE STATEMENTS: + C if (MC21B and MC13E not available during installation) return + C======================================================================= +! + NZDIA = NZ + NZOFF = 0 + +--- 167,176 ---- + C EXECUTABLE STATEMENTS: + C if (MC21B and MC13E not available during installation) return + C======================================================================= +! RETURN +! C======================================================================= +! C The rest will be ignored !!!!!!!! (We are not using Harwell) +! C======================================================================= + NZDIA = NZ + NZOFF = 0 + diff --git a/math/umfpack/pkg-comment b/math/umfpack/pkg-comment new file mode 100644 index 000000000000..cd98367b252a --- /dev/null +++ b/math/umfpack/pkg-comment @@ -0,0 +1 @@ +Unsymmetric-pattern Multifrontal Package diff --git a/math/umfpack/pkg-descr b/math/umfpack/pkg-descr new file mode 100644 index 000000000000..1668614f29a1 --- /dev/null +++ b/math/umfpack/pkg-descr @@ -0,0 +1,36 @@ +UMFPACK Version 2.2 is a package for solving systems of sparse linear systems, +Ax=b, where A is sparse and can be unsymmetric. It is written in ANSI Fortran +77. There are options for choosing a good pivot order, factorizing a +subsequent matrix with the same pivot order and nonzero pattern as a +previously factorized matrix, and solving systems of linear equations with +the factors (with A, L, or U; or with their transposes in the single/double +precision versions). Iterative refinement, with sparse backward error +estimates, can be performed. Single and double precision, complex, and +complex double precision (complex*16) routines are available. (Note that +complex*16 is not ANSI Fortran-77, but is a common extension to it). + +For more information +-------------------- + +For more information, see T. A. Davis and I. S. Duff, "An +unsymmetric-pattern multifrontal method for sparse LU factorization", +SIAM J. Matrix Analysis and Applications (to appear), also +technical report TR-94-038, CISE Dept., Univ. of Florida, +P.O. Box 116120, Gainesville, FL 32611-6120, USA. The method used +here is a modification of that method, described in T. A. Davis, +"A combined unifrontal/multifrontal method for unsymmetric sparse +matrices," TR-94-005, and in T. A. Davis and I. S. Duff, (same title), +TR-95-020. (Technical reports are available via WWW at +http://www.cis.ufl.edu/). The (unsymmetric) approximate degree update +algorithm used here has been incorporated into a symmetric approximate +minimum degree ordering algorithm, described in P. Amestoy, T. A. Davis, +and I. S. Duff, "An approximate minimum degree ordering algorithm", +SIAM Journal on Matrix Analysis and Applications (to appear, also TR-94-039). +The approximate minimum degree ordering algorithm is implemented as MC47 +in the Harwell Subroutine Library (MC47 is not used in UMFPACK). +Also take a look at our World Wide Web home pages: + Tim Davis: http://www.cis.ufl.edu/~davis + (also email: davis@cis.ufl.edu). + Iain Duff: http://www.cis.rl.ac.uk/people/isd/contact.html +______________ + Timothy A. Davis and Iain S. Duff. Copyright (C) 1997. diff --git a/math/umfpack/pkg-message b/math/umfpack/pkg-message new file mode 100644 index 000000000000..08e25d43d881 --- /dev/null +++ b/math/umfpack/pkg-message @@ -0,0 +1,29 @@ +********************************************************************** +* NOTICE: "The UMFPACK Package may be used SOLELY for educational, * +* research, and benchmarking purposes by non-profit organizations and * +* the U.S. government. Commercial and other organizations may make * +* use of UMFPACK SOLELY for benchmarking purposes only. UMFPACK may * +* be modified by or on behalf of the User for such use but at no time * +* shall UMFPACK or any such modified version of UMFPACK become the * +* property of the User. UMFPACK is provided without warranty of any * +* kind, either expressed or implied. Neither the Authors nor their * +* employers shall be liable for any direct or consequential loss or * +* damage whatsoever arising out of the use or misuse of UMFPACK by * +* the User. UMFPACK must not be sold. You may make copies of * +* UMFPACK, but this NOTICE and the Copyright notice must appear in * +* all copies. Any other use of UMFPACK requires written permission. * +* Your use of UMFPACK is an implicit agreement to these conditions." * +* * +* The MA38 Package in Release 12 of the Harwell Subroutine Library * +* (HSL) has equivalent functionality (and identical calling interface)* +* as UMFPACK (the HSL has single and double precision versions only, * +* however). It is available for commercial use. Technical reports, * +* information on HSL, and matrices are available via the World Wide * +* Web at http://www.cis.rl.ac.uk/struct/ARCD/NUM.html, or by * +* anonymous ftp at seamus.cc.rl.ac.uk/pub. Also contact Dr. Scott * +* Roberts, Harwell Subroutine Library, B 552, AEA Technology, * +* Harwell, Didcot, Oxon OX11 0RA, England. * +* telephone (44) 1235 434988, fax (44) 1235 434136 * +* email Scott.Roberts@aeat.co.uk, who will provide details of price * +* and conditions of use. * +*********************************************************************** diff --git a/math/umfpack/pkg-plist b/math/umfpack/pkg-plist new file mode 100644 index 000000000000..cfbcf2d93c20 --- /dev/null +++ b/math/umfpack/pkg-plist @@ -0,0 +1,2 @@ +lib/libumfpack.a +share/doc/umfpack/README.gz |