summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb>2001-04-27 22:57:30 +0000
committerjtb <jtb>2001-04-27 22:57:30 +0000
commit7a17ede4d7ce712d239c68af14e1aba3c7b9f6b9 (patch)
tree4d127936462102a3435a9ea0ee3477a67288d7b3 /math
parentabcc88c5a6b6274c4942a0ab565925030f183c82 (diff)
downloadpkgsrc-7a17ede4d7ce712d239c68af14e1aba3c7b9f6b9.tar.gz
Initial import of linpack.
LINPACK is a collection of Fortran subroutines that analyze and solve linear equations and linear least-squares probles. The package solves linear systems whose matrices are general, banded, symmetric indefinite, symmetric positive definite, triangular, and tridiagonal square. In addition, the package computes the QR and singular value decompositions of rectangular matrices and applies them to least-squares problems. LINPACK uses column-oriented algorithms to increase efficiency by preserving locality of reference. LINPACK was designed for supercomputers in use in the 1970s and early 1980s. LINPACK has been largely superceded by LAPACK which has been designed to run efficiently on shared-memory, vector supercomputers.
Diffstat (limited to 'math')
-rw-r--r--math/linpack/Makefile14
-rw-r--r--math/linpack/distinfo8
-rw-r--r--math/linpack/patches/patch-aa44
-rw-r--r--math/linpack/patches/patch-ab12
-rw-r--r--math/linpack/patches/patch-ac12
-rw-r--r--math/linpack/patches/patch-ad12
-rw-r--r--math/linpack/patches/patch-ae12
-rw-r--r--math/linpack/pkg/DESCR12
-rw-r--r--math/linpack/pkg/PLIST2
9 files changed, 128 insertions, 0 deletions
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
new file mode 100644
index 00000000000..08bc16c5e15
--- /dev/null
+++ b/math/linpack/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 22:57:30 jtb Exp $
+
+DISTNAME= linpack-20010427
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= packages@netbsd.org
+COMMENT= Library of Linear algebra Fortran routines
+
+DEPENDS+= blas-[0-9]*:../../math/blas
+
+USE_FORTRAN= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/linpack/distinfo b/math/linpack/distinfo
new file mode 100644
index 00000000000..8ee8e69a25b
--- /dev/null
+++ b/math/linpack/distinfo
@@ -0,0 +1,8 @@
+
+SHA1 (linpack-20010427.tar.gz) = d11362c325059363180888d29e921b53be316b4f
+Size (linpack-20010427.tar.gz) = 336068 bytes
+SHA1 (patch-aa) = 07195ee4920fe53559ef68f8fe696d7728b67337
+SHA1 (patch-ab) = 2c6ea54300b0bca78268d5ca6e23637e8059b201
+SHA1 (patch-ac) = c83d40137147445a8dd9fb72c97004759ce8366a
+SHA1 (patch-ad) = d73a1e4f1287c56842037158a413d90b4faee8fa
+SHA1 (patch-ae) = 2b587d534329bd24b32205716a30e81f85670aa0
diff --git a/math/linpack/patches/patch-aa b/math/linpack/patches/patch-aa
new file mode 100644
index 00000000000..844a3ea7ece
--- /dev/null
+++ b/math/linpack/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 22:57:31 jtb Exp $
+
+--- /dev/null Fri Apr 27 22:55:43 2001
++++ Makefile
+@@ -0,0 +1,39 @@
++LIB = linpack
++
++LIBDIR = ${PREFIX}/lib
++
++all: lib$(LIB).a
++
++OBJS = cchdc.o cchdd.o cchex.o cchud.o cgbco.o cgbdi.o cgbfa.o \
++ cgbsl.o cgeco.o cgedi.o cgefa.o cgesl.o cgtsl.o chico.o chidi.o \
++ chifa.o chisl.o chpco.o chpdi.o chpfa.o chpsl.o cmach.o cpbco.o \
++ cpbdi.o cpbfa.o cpbsl.o cpoco.o cpodi.o cpofa.o cposl.o cppco.o \
++ cppdi.o cppfa.o cppsl.o cptsl.o cqrdc.o cqrsl.o csico.o csidi.o \
++ csifa.o csisl.o cspco.o cspdi.o cspfa.o cspsl.o csvdc.o ctrco.o \
++ ctrdi.o ctrsl.o dcabs1.o dchdc.o dchdd.o dchex.o dchud.o dgbco.o \
++ dgbdi.o dgbfa.o dgbsl.o dgeco.o dgedi.o dgefa.o dgesl.o dgtsl.o \
++ dmach.o dpbco.o dpbdi.o dpbfa.o dpbsl.o dpoco.o dpodi.o dpofa.o \
++ dposl.o dppco.o dppdi.o dppfa.o dppsl.o dptsl.o dqrdc.o dqrsl.o \
++ dsico.o dsidi.o dsifa.o dsisl.o dspco.o dspdi.o dspfa.o dspsl.o \
++ dsvdc.o dtrco.o dtrdi.o dtrsl.o schdc.o schdd.o schex.o schud.o \
++ sgbco.o sgbdi.o sgbfa.o sgbsl.o sgeco.o sgedi.o sgefa.o sgesl.o \
++ sgtsl.o smach.o spbco.o spbdi.o spbfa.o spbsl.o spoco.o spodi.o \
++ spofa.o sposl.o sppco.o sppdi.o sppfa.o sppsl.o sptsl.o sqrdc.o \
++ sqrsl.o ssico.o ssidi.o ssifa.o ssisl.o sspco.o sspdi.o sspfa.o \
++ sspsl.o ssvdc.o strco.o strdi.o strsl.o zchdc.o zchdd.o \
++ zchex.o zchud.o zgbco.o zgbdi.o zgbfa.o zgbsl.o zgeco.o zgedi.o \
++ zgefa.o zgesl.o zgtsl.o zhico.o zhidi.o zhifa.o zhisl.o zhpco.o \
++ zhpdi.o zhpfa.o zhpsl.o zmach.o zpbco.o zpbdi.o zpbfa.o zpbsl.o \
++ zpoco.o zpodi.o zpofa.o zposl.o zppco.o zppdi.o zppfa.o zppsl.o \
++ zptsl.o zqrdc.o zqrsl.o zsico.o zsidi.o zsifa.o zsisl.o zspco.o \
++ zspdi.o zspfa.o zspsl.o zsvdc.o ztrco.o ztrdi.o ztrsl.o
++
++lib$(LIB).a: $(OBJS)
++ $(AR) cru $@ $?
++ $(RANLIB) $@
++
++install: lib$(LIB).a
++ $(BSD_INSTALL_DATA) lib$(LIB).a $(LIBDIR)
++
++clean:
++ rm -f *.o lib$(LIB).a
diff --git a/math/linpack/patches/patch-ab b/math/linpack/patches/patch-ab
new file mode 100644
index 00000000000..c47d319f30e
--- /dev/null
+++ b/math/linpack/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 22:57:31 jtb Exp $
+
+--- cptsl.f.orig Fri Nov 17 17:32:00 2000
++++ cptsl.f
+@@ -1,6 +1,6 @@
+ subroutine cptsl(n,d,e,b)
+ integer n
+- complex d(1),e(1),b(1)
++ complex d(1),e(1),b(*)
+ c
+ c cptsl given a positive definite tridiagonal matrix and a right
+ c hand side will find the solution.
diff --git a/math/linpack/patches/patch-ac b/math/linpack/patches/patch-ac
new file mode 100644
index 00000000000..681ed76c0f7
--- /dev/null
+++ b/math/linpack/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/27 22:57:31 jtb Exp $
+
+--- sptsl.f.orig Fri Nov 17 17:32:03 2000
++++ sptsl.f
+@@ -1,6 +1,6 @@
+ subroutine sptsl(n,d,e,b)
+ integer n
+- real d(1),e(1),b(1)
++ real d(1),e(1),b(*)
+ c
+ c sptsl given a positive definite tridiagonal matrix and a right
+ c hand side will find the solution.
diff --git a/math/linpack/patches/patch-ad b/math/linpack/patches/patch-ad
new file mode 100644
index 00000000000..43f405be671
--- /dev/null
+++ b/math/linpack/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 22:57:31 jtb Exp $
+
+--- dptsl.f.orig Thu Jan 5 21:00:46 1984
++++ dptsl.f
+@@ -1,6 +1,6 @@
+ subroutine dptsl(n,d,e,b)
+ integer n
+- double precision d(1),e(1),b(1)
++ double precision d(1),e(1),b(*)
+ c
+ c dptsl given a positive definite tridiagonal matrix and a right
+ c hand side will find the solution.
diff --git a/math/linpack/patches/patch-ae b/math/linpack/patches/patch-ae
new file mode 100644
index 00000000000..47eb5b3e1df
--- /dev/null
+++ b/math/linpack/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/04/27 22:57:31 jtb Exp $
+
+--- zptsl.f.orig Tue Sep 21 22:22:55 1982
++++ zptsl.f
+@@ -1,6 +1,6 @@
+ subroutine zptsl(n,d,e,b)
+ integer n
+- complex*16 d(1),e(1),b(1)
++ complex*16 d(1),e(1),b(*)
+ c
+ c zptsl given a positive definite tridiagonal matrix and a right
+ c hand side will find the solution.
diff --git a/math/linpack/pkg/DESCR b/math/linpack/pkg/DESCR
new file mode 100644
index 00000000000..1c5461988f2
--- /dev/null
+++ b/math/linpack/pkg/DESCR
@@ -0,0 +1,12 @@
+LINPACK is a collection of Fortran subroutines that analyze and solve
+linear equations and linear least-squares probles. The package solves
+linear systems whose matrices are general, banded, symmetric
+indefinite, symmetric positive definite, triangular, and tridiagonal
+square. In addition, the package computes the QR and singular value
+decompositions of rectangular matrices and applies them to
+least-squares problems. LINPACK uses column-oriented algorithms to
+increase efficiency by preserving locality of reference.
+
+LINPACK was designed for supercomputers in use in the 1970s and early
+1980s. LINPACK has been largely superceded by LAPACK which has been
+designed to run efficiently on shared-memory, vector supercomputers.
diff --git a/math/linpack/pkg/PLIST b/math/linpack/pkg/PLIST
new file mode 100644
index 00000000000..2d4dfb2f384
--- /dev/null
+++ b/math/linpack/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 22:57:30 jtb Exp $
+lib/liblinpack.a