Commit graph

25 commits

Author SHA1 Message Date
thor
bbcad74788 math/lapack: fix static library name preparing for lapack64
The upcoming lapack64 needs the library name liblapack64, the
variable for that was missing in the patch. This does not change
the build of math/lapack itself.
2021-06-01 22:13:35 +00:00
thor
6292db1259 math/lapack: remove spurious hook from lokal build in CMake patch
This added a rather irrelevant local search path and just polluted
the patch with a local directory from by builds.
2021-05-17 11:31:29 +00:00
thor
699a98a967 cblas: Restore: Fix link to Fortran libraries by using Fortran compiler as linker
This was lost on the recent rework of the patches:

On NetBSD.
In PKGSRC_FORTRAM=gfortran case, libcblas has no RPATH=/usr/pkg/gccXX/lib
and libgfortran and libquadmath are not found.
In PKGSRC_FORTRAN=g95 case, libcblas has no
RPATH=/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2 and libf95 is not found.

Use Fortran compiler as linker instread of C compiler to fix link.
2021-05-13 07:52:05 +00:00
thor
db2a0fc726 math/lapack, blas, cblas, lapacke: update to version 3.9.1
This includes a rework of the build system patches, which I'll try
to push upstream …
2021-05-12 14:32:51 +00:00
ryoon
96c2c10124 cblas: Fix link to Fortran libraries by using Fortran compiler as linker
On NetBSD.
In PKGSRC_FORTRAM=gfortran case, libcblas has no RPATH=/usr/pkg/gccXX/lib
and libgfortran and libquadmath are not found.
In PKGSRC_FORTRAN=g95 case, libcblas has no
RPATH=/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2 and libf95 is not found.

Use Fortran compiler as linker instread of C compiler to fix link.
2021-04-21 13:53:18 +00:00
bacon
87edcb24b1 math/blas, math/lapack: Install interchangeable BLAS system
Install the new interchangeable BLAS system created by Thomas Orgis,
currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and
Apple's Accelerate.framework.  This system allows the user to select any
BLAS implementation without modifying packages or using package options, by
setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details.

This commit should not alter behavior of existing packages as the system
defaults to Netlib BLAS/LAPACK, which until now has been the only supported
implementation.

Details:

Add new mk/blas.buildlink3.mk for inclusion in dependent packages
Install compatible Netlib math/blas and math/lapack packages
Update math/blas and math/lapack MAINTAINER approved by adam@
OpenBLAS, cblas, and lapacke will follow in separate commits
Update direct dependents to use mk/blas.buildlink3.mk
Perform recursive revbump
2020-10-12 21:51:57 +00:00
plunky
9ffb0ab867 Update math/lapack and math/blas to v3.9.0
Have switched to the CMAKE build and enabled tests.
make test passes all (with one patch pushed upstream)

Package additions, from the release notes are:

LAPACK 3.9.0
   LAPACK QR
      preconditioned QR SVD method for computing the SVD with high accuracy,
      by Zlatko Drmac

   LAPACK Householder Reconstruction
      by Igor Kozachenko and Jim Demmel

LAPACK 3.8.0
   Symmetric-indefinite Factorization: Aasen’s tridiagonalization 2 stage
      A contribution from Ichitaro Yamazaki (University of Tennessee).

   LAPACKE interfaces
      A contribution from Julie Langou (University of Tennessee).
2020-02-28 21:48:53 +00:00
wiz
a7a8d478a2 Update blas and lapack to 3.7.1.
Reduce pkgsrc patches by depending on gmake.

No changelog found.
2017-09-11 20:56:28 +00:00
adam
b25458108c Changes 3.7.0:
* Linear Least Squares / Minimum Norm solution
* Symmetric-indefinite Factorization: Aasen’s tridiagonalization
* Symmetric-indefinite Factorization: New storage format for L factor in Rook Pivoting and Bunch Kaufman of LDLT
* Symmetric eigenvalue problem: Two-stage algorithm for reduction to tridiagonal form
* Improved Complex Jacobi SVD
* LAPACKE interfaces
2017-01-25 15:53:06 +00:00
wiz
08b3e08a91 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.
2016-10-18 14:08:14 +00:00
joerg
db452e7a63 Build and link Fortran code using the Fortran Compiler. Bump revision. 2014-08-19 13:37:14 +00:00
adam
abf9107f67 Fix linking with gfortran 2014-03-31 20:53:22 +00:00
adam
56af0fb587 Changes 3.5.0:
* added Symmetric/Hermitian LDLT factorization routines with rook pivoting algorithm
* 2-by-1 CSD to be used for tall and skinny matrix with orthonormal columns (in LAPCK 3.4.0, we already integrated CSD of a full square orthogonal matrix)
* New stopping criteria for balancing.
2014-02-28 09:39:56 +00:00
adam
6c561e6c43 Pass LDFLAGS for linking 2011-01-25 12:45:43 +00:00
dmcmahill
f298c8d2a6 Detect if the fortran compiler/libs have etime as an intrinsic or not instead
of hard coding it.  This package builds with both f2c and gfortran now.
2010-03-17 21:47:11 +00:00
tnn
176dba4f3b patch-ad: Don't remove the $(NOOPT) for slamch.f and dlamch.f
Was probably done unintentionally and caused infinite loops on some platforms.
Patch from Aleksey Cheusov in PR pkg/38371.
2009-10-20 14:00:23 +00:00
markd
02eaa3a918 Tell libtool that its linking fortran so the correct libraries get linked
in.
2008-08-12 21:32:04 +00:00
adam
78324ec107 Changes 3.1.1:
* Add blas routines so that the blas provided is complete
* Provide 5 flavours of SECOND and DSECND
* Bug fixes
2007-12-10 17:50:31 +00:00
wennmach
9688d77316 Add patch-ab (forgotten in the previous commit - thanks to
wiz for notifying me).
2005-01-03 15:38:05 +00:00
wennmach
8e7b4963b9 The `DZLAUX' routines were still missing from the library. 2005-01-03 15:33:55 +00:00
wennmach
1b87c6169a Make liblapack contain routines for all types (real, double, complex16,
and complex). Due to an error in the previous patch-aa, liblapack only
contained the complex16 routines.
Bump PKGREVISION.
2004-12-22 10:17:28 +00:00
adam
a1c667f6e6 Now uses libtool and makes shared libraries 2003-12-04 10:32:30 +00:00
jtb
f34c1a55ba Add buildlink infrastructure. 2002-05-03 22:44:04 +00:00
dmcmahill
e4cf0afce0 be consistent about obeying PKG_FC. (don't hardcode f77). Fixes problems
when f2c-f77 is used.
2001-05-01 01:21:10 +00:00
jtb
131b71fb8f Initial import of lapack:
Linear Algebra PACKage
2001-02-01 23:30:56 +00:00