Wed Jan 4 18:31:36 2023 UTC ()
lapack & friends: update to 3.11.0

3.11.0

This is a major release and also addressing multiple bug fixes.

2.1. Normwise criterion for infinite eigenvalues in the QZ algorithm
by @thijssteel

The normwise criterion is more robust at detecting infinite
eigenvalues than the elementwise criterion (PR #698). See also
https://arxiv.org/abs/2208.02057.

2.2 level-3 BLAS solvers for the triangular system and triangular
Sylvester equations by @angsch

The triangular Sylvester equation has been recognized to be prone
to overflow. For that purpose, *TRSYL utilizes a scaling factor to
represent the solution as (s^{-1} X) and solve the scaled equation
AX + XB = s C. Due to the scaling factor, there is some flexibility
in the representation of the solution. The proposed level-3 BLAS
version computes the scaling factors based on the upper bounds of
blocks to enable level-3 BLAS. The scaling is typically slightly
more aggressive so that an alternatively scaled final solution is
computed. This is no problem as long as the scaling factor does
not get flushed to zero (PR #651). The same upper bound calculation
was used to write the level-3 BLAS solver for the triangular system,
*LATRS3.

2.3 Givens rotations generated with less accumulation error by
@weslleyspereira

New algorithms for computing Givens rotations in complex arithmetic
that reduce the accumulation errors for computing each of the
outputs, c, s, r. The new algorithms are, on average, more accurate
than both the algorithms from LAPACK 3.9.1 and LAPACK 3.10.0 (PR
#631). See also https://arxiv.org/abs/2211.04010.

2.4 Faster algorithms for Least Squares by @scr2016

The new algorithms, *GELST, are similar to *GELS. *GELST avoids
computing triangular blocks twice as in *GELS, which means *GELST
runs faster (PR #739).

2.5 Improvements on the building system and the Continuous Testing
framework

    Regression test for illegal modification of Y in *GEMV by
    @matcross in PR #622.

    Test the Fortran intrinsic ABS and complex divisions and report
    failures during build by @weslleyspereira in PR #623.

    Appveyor is working in the Continuous Testing once more by
    @martin-frbg in PR #627.

    More tests and fixes for type mismatches by @angsch in PR #675.

    Solve build issues with IBM XLF by @friedc in PR #677.

    Explicit type casts to INT by @angsch in PR #684.

    Fix an out-of-bounds write in the tests by @angsch in PR #685.

    Adding support for NAG Fortran compiler (nagfor) by @ACSimon33
    in PR #686.

    Fix time check flag propagation and default value by @ACSimon33
    in PR #696.

    Fixed format warnings in 64 bit integer builds by @ACSimon33
    in PR #700.

    Explicit type casts and more rigorous CI by @weslleyspereira
    in PR #703.

    Fix type mismatches in function calls of testing code by
    @mjacobse in PR #706.

    Fix lower triangular band matrix generation by @angsch in PR
    #728.

2.6 Other improvements

    Improves the computation of norms in {S,D}ORBDB6 and {C,Z}UNBDB6
    by @Christoph Conrads in PR #647.

    Uses a Newton step to compute the initial guess for ETA in
    {S,D}LAED4 to reduce the number of iterations by @weslleyspereira
    in PR #655.

    Return immediately when scaling with one by @angsch in PR #674.

    Rearrange the application of the Householder reflectors in
    *LAQR5, which lowers the instruction count when FMA is available
    by @angsch in PR #681.

    Set SCALE early for robust triangular solvers by @angsch in PR
    #712.

    Add {C,Z}ROTG, {CS,ZD}ROT, {S,D}CABS1 to CBLAS by @angsch in
    PR #721.

    Add *LANGB to LAPACKE by @ACSimon33 in PR #725.

    NaN check for trapezoidal matrices on LAPACKE by @ACSimon33 in
    PR #738 and PR #742.

2.7 Bug fixes

    Fix LAPACKE_*tpmqrt_work for row-major matrices by @weslleyspereira
    in PR 540.

    Fix leading dimension check in LAPACKE窶冱 *geesv[x] and *gges[x]
    by @angsch in PR 665.

    Fix the left-looking variant of GEQRF by @weslleyspereira in
    PR 690.

    Fix workspace query for *SYEVD and *HEEVD routines by
    neil-lindquist@neil-lindquist in PR 691.

    Fix behavior of SCALE in *LATBS and *LATRS, and avoids NaN
    generation if entries in CNORM exceed the overflow threshold
    by @angsch in PR 712.


(wiz)
diff -r1.33 -r1.34 pkgsrc/math/lapack/distinfo
diff -r1.4 -r1.5 pkgsrc/math/lapack/version.mk

cvs diff -r1.33 -r1.34 pkgsrc/math/lapack/distinfo (expand / switch to unified diff)

--- pkgsrc/math/lapack/distinfo 2022/04/21 10:30:23 1.33
+++ pkgsrc/math/lapack/distinfo 2023/01/04 18:31:36 1.34
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: distinfo,v 1.33 2022/04/21 10:30:23 wiz Exp $ 1$NetBSD: distinfo,v 1.34 2023/01/04 18:31:36 wiz Exp $
2 2
3BLAKE2s (lapack-3.10.1.tar.gz) = 2272ea38c828d9126bb8b447d6d3d6ddd39a41956f96c1b8680d712e7dcf5f9e 3BLAKE2s (lapack-3.11.0.tar.gz) = 6f24925d13cbaa1fd4c697bff222328d25314ec811a343302b1d9de9c219b382
4SHA512 (lapack-3.10.1.tar.gz) = 0500bbbb48483208c0a35b74972ff0059c389da6032824a2079637266a99fa980882eedf7f1fc490219ee4ff27812ac8c6afe118e25f40a9c2387e7b997762fb 4SHA512 (lapack-3.11.0.tar.gz) = fc3258b9d91a833149a68a89c5589b5113e90a8f9f41c3a73fbfccb1ecddd92d9462802c0f870f1c3dab392623452de4ef512727f5874ffdcba6a4845f78fc9a
5Size (lapack-3.10.1.tar.gz) = 7632257 bytes 5Size (lapack-3.11.0.tar.gz) = 7723808 bytes
6SHA1 (patch-BLAS_SRC_CMakeLists.txt) = 8773f93b1f907ed02d41677a3819f5bb655a331a 6SHA1 (patch-BLAS_SRC_CMakeLists.txt) = 8773f93b1f907ed02d41677a3819f5bb655a331a
7SHA1 (patch-CBLAS_CMakeLists.txt) = e98060150ce7eec343e2465bcad2789be84016f9 7SHA1 (patch-CBLAS_CMakeLists.txt) = e98060150ce7eec343e2465bcad2789be84016f9
8SHA1 (patch-CBLAS_cblas.pc.in) = cc97fbab08024220739929b5ad95c266965da06d 8SHA1 (patch-CBLAS_cblas.pc.in) = cc97fbab08024220739929b5ad95c266965da06d
9SHA1 (patch-CBLAS_src_CMakeLists.txt) = 64abbfb4458943483fba8897df0c8bf62c3f949e 9SHA1 (patch-CBLAS_src_CMakeLists.txt) = 64abbfb4458943483fba8897df0c8bf62c3f949e
10SHA1 (patch-CMakeLists.txt) = de1d623f2571752a8ac70fa9d65734ba39770fc5 10SHA1 (patch-CMakeLists.txt) = de1d623f2571752a8ac70fa9d65734ba39770fc5
11SHA1 (patch-LAPACKE_CMakeLists.txt) = 13e4662585088aa53f61f7079d103fdfcf985c4e 11SHA1 (patch-LAPACKE_CMakeLists.txt) = 13e4662585088aa53f61f7079d103fdfcf985c4e
12SHA1 (patch-LAPACKE_lapacke.pc.in) = 6bbd72205120501cd60daf0b22b00ef7979fb329 12SHA1 (patch-LAPACKE_lapacke.pc.in) = 6bbd72205120501cd60daf0b22b00ef7979fb329
13SHA1 (patch-SRC_CMakeLists.txt) = 03bbccbd87334941650cab584469954153f610ed 13SHA1 (patch-SRC_CMakeLists.txt) = 03bbccbd87334941650cab584469954153f610ed
14SHA1 (patch-TESTING_MATGEN_CMakeLists.txt) = 07946678945dba3a7752849791f12e0666345983 14SHA1 (patch-TESTING_MATGEN_CMakeLists.txt) = 07946678945dba3a7752849791f12e0666345983

cvs diff -r1.4 -r1.5 pkgsrc/math/lapack/version.mk (expand / switch to unified diff)

--- pkgsrc/math/lapack/version.mk 2022/04/21 10:30:23 1.4
+++ pkgsrc/math/lapack/version.mk 2023/01/04 18:31:36 1.5
@@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
1# $NetBSD: version.mk,v 1.4 2022/04/21 10:30:23 wiz Exp $ 1# $NetBSD: version.mk,v 1.5 2023/01/04 18:31:36 wiz Exp $
2 2
3NETLIB_BLAS_VERSION= 3.10.1 3NETLIB_BLAS_VERSION= 3.11.0