./math/lapack, Linear Algebra PACKage (Netlib reference implementation)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.11.0, Package name: lapack-3.11.0, Maintainer: thomas.orgis

The BLAS (Basic Linear Algebra Subprograms) are high quality "building
block" routines for performing basic vector and matrix
operations. Level 1 BLAS do vector-vector operations, Level 2 BLAS do
matrix-vector operations, and Level 3 BLAS do matrix-matrix
operations. Because the BLAS are efficient, portable, and widely
available, they're commonly used in the development of high quality
linear algebra software, LINPACK and LAPACK for example.

LAPACK is a highly portable Fortran 77 library which provides routines
for solving systems of simultaneous linear equations, least-squares
solutions of linear systems of equations, eigenvalue problems, and
singular value problems. The associated matrix factorizations (LU,
Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are
related computations such as reordering of the Schur factorizations
and estimating condition numbers. Dense and banded matrices are
handled, but not general sparse matrices. In all areas, similar
functionality is provided for real and complex matrices, in both
single and double precision.

This package contains the Fortran 77 reference implementation of BLAS
and LAPACK from Netlib. The C wrappers CBLAS and LAPACKE are provided
in separate packages.

Required to run:
[lang/g95] [math/blas]

Required to build:

Master sites:

Filesize: 7542.781 KB

Version history: (Expand)

CVS history: (Expand)

   2023-08-03 14:08:33 by Tobias Nygren | Files touched by this commit (1)
Log message:
lapack: revert previous, fixed in compiler/gcc.mk v1.1260
   2023-08-03 00:19:22 by Tobias Nygren | Files touched by this commit (1)
Log message:
lapack: add -fPIC to FFLAGS

Since we patch the build to install both static and dynamic shlibs,
we must ensure position independent code is used.

Fixes unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against
symbol `__stack_chk_guard'
   2023-01-24 19:36:36 by Thomas Klausner | Files touched by this commit (103)
Log message:
*: convert to cmake/build.mk
   2023-01-04 19:31:36 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
lapack & friends: update to 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

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,

2.3 Givens rotations generated with less accumulation error by

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

    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

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

    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’s *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.
   2022-04-21 12:30:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
lapack and friends: update to 3.10.1

This is a minor release addressing multiple bug fixes and improvements.
   2022-03-13 08:31:57 by Niclas Rosenvik | Files touched by this commit (2)
Log message:
Fix lapack parallel build when building both static and shared libs

lapack creates .mod files that are created in the same location
when the static and shared libraries these then interfere with each
other. put the .mod files created when buildling the static library
in a different directory to fix this.
   2021-11-23 23:45:01 by Thomas Klausner | Files touched by this commit (10) | Package updated
Log message:
lapack: update lapack*, cblas*, and blas* to 3.10.0

This is a major release and also addressing multiple bug fixes.
   2021-10-26 12:56:13 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes