pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/lapack Updated lapack to 3.6.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/88395d87aa8d
branches: trunk
changeset: 353956:88395d87aa8d
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Oct 18 14:08:14 2016 +0000
description:
Updated lapack to 3.6.1.
LAPACK 3.6.1: What?s new
[Mark Gates, UTK] blocked back-transformation for the non-symmetric eigenvalue problem
It blocks NB gemv calls into one gemm call inside trevc. To do
that, it needs a new routine, trevc3, because unfortunately the
lwork was not passed into trevc. Attached is the performance speedup
for dgeev. It gives a nice 1.5x speedup for N=20000, and that
appears to still be increasing with N. This is not the improvements
that Greg Henry recently provided for doing the triangular solves
as BLAS-3 instead of BLAS-1. That will take a while to process,
but we expect another, even larger increase in performance when
those changes are applied. This also does not include doing multiple
(BLAS-1) triangular solves in parallel, which is available in MAGMA,
since that requires OpenMP or pthreads.
diffstat:
math/lapack/Makefile | 3 +-
math/lapack/Makefile.common | 4 +-
math/lapack/distinfo | 12 ++++----
math/lapack/patches/patch-aa | 64 +++++++++++++++++++++++--------------------
4 files changed, 43 insertions(+), 40 deletions(-)
diffs (204 lines):
diff -r a55f107fd715 -r 88395d87aa8d math/lapack/Makefile
--- a/math/lapack/Makefile Tue Oct 18 14:03:16 2016 +0000
+++ b/math/lapack/Makefile Tue Oct 18 14:08:14 2016 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2014/08/19 13:37:14 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2016/10/18 14:08:14 wiz Exp $
.include "Makefile.common"
-PKGREVISION= 1
COMMENT= Linear Algebra PACKage
BUILD_TARGET= lapacklib
diff -r a55f107fd715 -r 88395d87aa8d math/lapack/Makefile.common
--- a/math/lapack/Makefile.common Tue Oct 18 14:03:16 2016 +0000
+++ b/math/lapack/Makefile.common Tue Oct 18 14:08:14 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.2 2014/10/09 14:06:41 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2016/10/18 14:08:14 wiz Exp $
# used by math/blas/Makefile
# used by math/lapack/Makefile
-DISTNAME= lapack-3.5.0
+DISTNAME= lapack-3.6.1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_NETLIB:=lapack/}
EXTRACT_SUFX= .tgz
diff -r a55f107fd715 -r 88395d87aa8d math/lapack/distinfo
--- a/math/lapack/distinfo Tue Oct 18 14:03:16 2016 +0000
+++ b/math/lapack/distinfo Tue Oct 18 14:08:14 2016 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.18 2015/11/03 23:33:35 agc Exp $
+$NetBSD: distinfo,v 1.19 2016/10/18 14:08:14 wiz Exp $
-SHA1 (lapack-3.5.0.tgz) = 5870081889bf5d15fd977993daab29cf3c5ea970
-RMD160 (lapack-3.5.0.tgz) = d803308ef28f3c6cffb051850823395e2cb29b6a
-SHA512 (lapack-3.5.0.tgz) = b948a0a0db032bda455ec4f519d4e89e4c29e29cecb5b6258ca61f68faaeeac9fdf4ece5c39ffcd0154c5505facbc392c7d09c8348b1d60bdd2685153ab2543f
-Size (lapack-3.5.0.tgz) = 6313139 bytes
+SHA1 (lapack-3.6.1.tgz) = 7220a9bc9c766cb513007f313b804d88f110c228
+RMD160 (lapack-3.6.1.tgz) = 227e893b3716286d405e683ad0e29df475c9ebde
+SHA512 (lapack-3.6.1.tgz) = 2c0af80f6082283395d9c6dc0a463b5a291d7bda3bc3aa68b8f2c7405bfdfac9e4ae417d156da75aa6ed0d90765d0c2ee30bd87ca13ced3c29f8f065038203a1
+Size (lapack-3.6.1.tgz) = 6813749 bytes
SHA1 (patch-BLAS_SRC_Makefile) = e0ee6f76e94352b05edac151c0a47f82e8773210
-SHA1 (patch-aa) = 54680fd0af562f21e2cfc4917c4f72c91dc504d7
+SHA1 (patch-aa) = 3612216affbe323d1e7e46e66988f94f9f7a3574
SHA1 (patch-ac) = 14945f2d5d18a6e310a2237ca413967dc5bdf4ff
SHA1 (patch-ad) = c8768f0efd2473b06251f2234b8b14951a9a877c
diff -r a55f107fd715 -r 88395d87aa8d math/lapack/patches/patch-aa
--- a/math/lapack/patches/patch-aa Tue Oct 18 14:03:16 2016 +0000
+++ b/math/lapack/patches/patch-aa Tue Oct 18 14:08:14 2016 +0000
@@ -1,11 +1,8 @@
-$NetBSD: patch-aa,v 1.9 2014/08/19 13:37:15 joerg Exp $
+$NetBSD: patch-aa,v 1.10 2016/10/18 14:08:14 wiz Exp $
-Fix portability issues.
-Use LIBTOOL.
-
---- SRC/Makefile.orig 2013-07-09 04:06:39.000000000 +0000
+--- SRC/Makefile.orig 2016-06-18 22:15:11.000000000 +0000
+++ SRC/Makefile
-@@ -159,7 +159,7 @@ SLASRC = \
+@@ -163,7 +163,7 @@ SLASRC = \
DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o
@@ -14,7 +11,7 @@
SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o \
sla_gercond.o sla_gerpvgrw.o ssysvxx.o ssyrfsx.o \
sla_syrfsx_extended.o sla_syamv.o sla_syrcond.o sla_syrpvgrw.o \
-@@ -167,7 +167,7 @@ SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx
+@@ -171,7 +171,7 @@ SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx
sla_porpvgrw.o sgbsvxx.o sgbrfsx.o sla_gbrfsx_extended.o \
sla_gbamv.o sla_gbrcond.o sla_gbrpvgrw.o sla_lin_berr.o slarscl2.o \
slascl2.o sla_wwaddw.o
@@ -22,8 +19,8 @@
+.endif
CLASRC = \
- cbdsqr.o cgbbrd.o cgbcon.o cgbequ.o cgbrfs.o cgbsv.o cgbsvx.o \
-@@ -238,7 +238,7 @@ CLASRC = \
+ cpotrf2.o cgetrf2.o \
+@@ -245,7 +245,7 @@ CLASRC = \
cgeqrt.o cgeqrt2.o cgeqrt3.o cgemqrt.o \
ctpqrt.o ctpqrt2.o ctpmqrt.o ctprfb.o
@@ -32,7 +29,7 @@
CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \
cla_gercond_c.o cla_gercond_x.o cla_gerpvgrw.o \
csysvxx.o csyrfsx.o cla_syrfsx_extended.o cla_syamv.o \
-@@ -250,7 +250,7 @@ CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx
+@@ -257,7 +257,7 @@ CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx
chesvxx.o cherfsx.o cla_herfsx_extended.o cla_heamv.o \
cla_hercond_c.o cla_hercond_x.o cla_herpvgrw.o \
cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o
@@ -41,7 +38,7 @@
ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o
-@@ -318,7 +318,7 @@ DLASRC = \
+@@ -328,7 +328,7 @@ DLASRC = \
dgeqrt.o dgeqrt2.o dgeqrt3.o dgemqrt.o \
dtpqrt.o dtpqrt2.o dtpmqrt.o dtprfb.o
@@ -50,7 +47,7 @@
DXLASRC = dgesvxx.o dgerfsx.o dla_gerfsx_extended.o dla_geamv.o \
dla_gercond.o dla_gerpvgrw.o dsysvxx.o dsyrfsx.o \
dla_syrfsx_extended.o dla_syamv.o dla_syrcond.o dla_syrpvgrw.o \
-@@ -326,7 +326,7 @@ DXLASRC = dgesvxx.o dgerfsx.o dla_gerfsx
+@@ -336,7 +336,7 @@ DXLASRC = dgesvxx.o dgerfsx.o dla_gerfsx
dla_porpvgrw.o dgbsvxx.o dgbrfsx.o dla_gbrfsx_extended.o \
dla_gbamv.o dla_gbrcond.o dla_gbrpvgrw.o dla_lin_berr.o dlarscl2.o \
dlascl2.o dla_wwaddw.o
@@ -58,8 +55,8 @@
+.endif
ZLASRC = \
- zbdsqr.o zgbbrd.o zgbcon.o zgbequ.o zgbrfs.o zgbsv.o zgbsvx.o \
-@@ -402,7 +402,7 @@ ZLASRC = \
+ zpotrf2.o zgetrf2.o \
+@@ -416,7 +416,7 @@ ZLASRC = \
zgeqrt.o zgeqrt2.o zgeqrt3.o zgemqrt.o \
ztpqrt.o ztpqrt2.o ztpmqrt.o ztprfb.o
@@ -68,13 +65,16 @@
ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx_extended.o zla_geamv.o \
zla_gercond_c.o zla_gercond_x.o zla_gerpvgrw.o zsysvxx.o zsyrfsx.o \
zla_syrfsx_extended.o zla_syamv.o zla_syrcond_c.o zla_syrcond_x.o \
-@@ -412,20 +412,20 @@ ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx
+@@ -426,7 +426,7 @@ ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx
zla_gbrpvgrw.o zhesvxx.o zherfsx.o zla_herfsx_extended.o \
zla_heamv.o zla_hercond_c.o zla_hercond_x.o zla_herpvgrw.o \
zla_lin_berr.o zlarscl2.o zlascl2.o zla_wwaddw.o
-endif
+.endif
+ DEPRECSRC = DEPRECATED/cgegs.o DEPRECATED/cgegv.o DEPRECATED/cgelsx.o \
+ DEPRECATED/cgeqpf.o DEPRECATED/cggsvd.o DEPRECATED/cggsvp.o \
+@@ -444,19 +444,19 @@ DEPRECSRC = DEPRECATED/cgegs.o DEPRECATE
ALLOBJ = $(SLASRC) $(DLASRC) $(DSLASRC) $(CLASRC) $(ZLASRC) $(ZCLASRC) \
$(SCLAUX) $(DZLAUX) $(ALLAUX)
@@ -84,17 +84,23 @@
-endif
+.endif
+-ifdef BUILD_DEPRECATED
++.ifdef BUILD_DEPRECATED
+ DEPRECATED = $(DEPRECSRC)
+-endif
++.endif
+
all: ../$(LAPACKLIB)
- ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ)
-- $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ)
+ ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
+- $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) $(DEPRECATED)
- $(RANLIB) $@
+ ${LIBTOOL} --mode=link --tag=FC ${FC} ${LDFLAGS} -o ../$(LAPACKLIB) \
+ $(ALLOBJ:.o=.lo) -rpath ${PREFIX}/lib -version-info 4:0
single: $(SLASRC) $(DSLASRC) $(SXLASRC) $(SCLAUX) $(ALLAUX)
$(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(DSLASRC) \
-@@ -456,12 +456,12 @@ $(DLASRC): $(FRC)
+@@ -487,12 +487,12 @@ $(DLASRC): $(FRC)
$(ZLASRC): $(FRC)
$(ZCLASRC): $(FRC)
$(DSLASRC): $(FRC)
@@ -109,25 +115,23 @@
FRC:
@FRC=$(FRC)
-@@ -470,12 +470,14 @@ clean:
- rm -f *.o
+@@ -501,12 +501,11 @@ clean:
+ rm -f *.o DEPRECATED/*.o
.f.o:
- $(FORTRAN) $(OPTS) -c $< -o $@
+-
+-slaruv.o: slaruv.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+-dlaruv.o: dlaruv.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+-sla_wwaddw.o: sla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+-dla_wwaddw.o: dla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+-cla_wwaddw.o: cla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+-zla_wwaddw.o: zla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+ ${LIBTOOL} --mode=compile --tag=FC ${FC} ${FFLAGS} -c $<
-+
-+
+
+slaruv.o: slaruv.f ; ${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
+dlaruv.o: dlaruv.f ; ${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
+sla_wwaddw.o: sla_wwaddw.f ; ${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
+dla_wwaddw.o: dla_wwaddw.f ; ${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
+cla_wwaddw.o: cla_wwaddw.f ; ${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
+zla_wwaddw.o: zla_wwaddw.f ; ${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
-
--slaruv.o: slaruv.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
--dlaruv.o: dlaruv.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
--sla_wwaddw.o: sla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
--dla_wwaddw.o: dla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
--cla_wwaddw.o: cla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
--zla_wwaddw.o: zla_wwaddw.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
-
Home |
Main Index |
Thread Index |
Old Index