Commit Graph
3301 Commits
Author SHA1 Message Date
Michał Górny 548f62369e Implement MSVC complex types
Implement the support for the `_Fcomplex` and `_Dcomplex` types used
by MSVC in place of the standard C99 complex types.  This is necessary
to make LAPACK build out of the box with MSVC, since it does not
implement the default C99 types.

See: https://learn.microsoft.com/en-us/cpp/c-runtime-library/complex-math-support

I went for the simplest implementation possible, limiting the changes
to swapping the default types used when MSVC is used as the compiler,
also when `lapack_config.h` is not used.  I haven't added
a `LAPACK_COMPLEX_*` ifdef for it, but I can do that if you prefer.

Signed-off-by: Michał Górny <mgorny@quansight.com>
2025-11-07 19:25:44 +01:00
langou 9f4032ec97 Merge pull request #1154 from mgorny/lapack64-pc
fix library names in `lapack64.pc`
2025-11-03 14:24:46 -07:00
langou 48677eea06 Merge pull request #1162 from ACSimon33/LAPACKE_const_correctness
LAPACKE const correctness fixes
2025-10-23 17:55:27 -06:00
langou 7014148a5b Merge pull request #1163 from jprhyne/dlarftTermCase
Add non-trivial terminating case to xLARFT
2025-10-23 10:20:45 -06:00
Johnathan Rhyne dd076164da Merge branch 'dlarftTermCase' of github.com:jprhyne/lapack into dlarftTermCase 2025-10-23 08:47:56 -06:00
Johnathan Rhyne 746f7afb2b attempt at fixing build errors for CI tests 2025-10-22 19:47:38 -06:00
Johnathan Rhyne 6529fc14bc Merge branch 'master' into dlarftTermCase 2025-10-22 14:01:45 -06:00
Johnathan Rhyne 87d679164c changing names 2025-10-22 14:00:14 -06:00
Johnathan Rhyne 9ea006008e Adding larft VARIANTS folder back to test CI failures 2025-10-22 13:59:17 -06:00
Johnathan Rhyne 81c48a0a3a removed larft build instructions from VARIANTS Makefile 2025-10-22 13:53:19 -06:00
Johnathan Rhyne 68a1389c4b Added NX variable declaration to clarft that was initially missed 2025-10-22 13:32:08 -06:00
Johnathan Rhyne b9d53f4c5c adding nx behavior to *larft 2025-10-22 13:24:50 -06:00
Simon Maertens 0de6ae0fc4 Fixed const specifiers in several LAPACKE function signatures and removed some spurious transpositions of output matrices that are in fact pure input parameters. 2025-10-22 16:50:10 +02:00
langou c08dcfa106 Merge pull request #1159 from ACSimon33/nagfor_constant_propagation_fix
Fixes for the NAG Fortran compiler
2025-10-20 12:16:23 -06:00
Simon Maertens 9630b23c4f Fixed FORMAT lines that were longerthan 72 characters 2025-10-02 16:42:00 +02:00
Simon Maertens 362029e383 Add missing intrinsics in icamax.f90 and izamax.f90 2025-10-02 16:41:30 +02:00
Simon Maertens d2d2625019 Disable constant propagation for the NAG Fortran compiler in BLAS tests. 2025-10-02 16:40:58 +02:00
langou 66380df1ca Merge pull request #1157 from amontoison/precompilation
Provide precompiled artifacts for future releases
2025-09-19 10:17:48 -06:00
langou 6b92a7affa Merge pull request #1048 from grisuthedragon/implement-axpby 2025-09-19 09:11:21 -06:00
Alexis Montoison 3c59d1725d Provide precompiled artifacts for future releases 2025-09-18 20:37:22 -06:00
langou b4cf815965 Merge pull request #1156 from TiborGY/fix_gelqt_docs
Fix errors in the documentation of ?gelqt
2025-09-16 15:07:24 -06:00
GYT 44d9a1636b FIx errors in the documentation of ?gelqt 2025-09-16 22:54:01 +02:00
Michał Górny b73a7c9e4d fix library names in lapack64.pc
Add substitutions to `lapack.pc.in`, in order to ensure that
the generated `lapack64.pc` file correctly references the index64
library and BLAS dependency.  It seems that other pkg-config templates
have been updated as part of #462 but this one was omitted.
As a result, finding a lapack64 via pkg-config gave non-index64
libraries.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-14 11:43:24 +02:00
langou 3c1abe4166 Merge pull request #1152 from mgates3/implicit-none 2025-08-27 06:10:33 -06:00
Mark Gates d0b1591e28 fix PROGRAM line in INSTALL 2025-08-26 23:27:58 -04:00
Mark Gates 594dc253ae implicit none in INSTALL 2025-08-26 23:27:58 -04:00
Mark Gates 83ed564b46 implicit none in CBLAS 2025-08-26 23:27:58 -04:00
Mark Gates ce817407f3 implicit none in TESTING 2025-08-26 23:27:58 -04:00
Mark Gates 62b1d4a032 implicit none in TESTING/LIN 2025-08-26 23:27:58 -04:00
Mark Gates 971f19940e implicit none in SRC 2025-08-26 23:27:57 -04:00
Mark Gates 04bb0de13a implicit none in SRC/s 2025-08-26 23:27:57 -04:00
Mark Gates f111b2dc42 implicit none in SRC/d 2025-08-26 23:27:57 -04:00
Mark Gates 8caa3ff67b implicit none in SRC/c 2025-08-26 23:27:57 -04:00
Mark Gates 4c76e9deb6 implicit none in SRC/z 2025-08-26 23:00:36 -04:00
Mark Gates b23d944046 implicit none in SRC/VARIANTS 2025-08-26 22:36:12 -04:00
Mark Gates 97b0bedb32 implicit none in BLAS 2025-08-22 01:02:05 -04:00
langou 5ce7a26f49 Merge pull request #1098 from TiborGY/gemm_docs
Add NaN propagation and array initialization notes to ?GEMM docs
2025-08-16 13:56:26 -06:00
langou bfbef596de Merge pull request #1150 from grisuthedragon/cblas-xerbla-fix
Fix cblas_xerbla wrong parameter dectection
2025-07-30 07:53:41 -06:00
Martin Köhler f721480b2e Merge branch 'Reference-LAPACK:master' into cblas-xerbla-fix 2025-07-30 10:57:06 +02:00
Martin Köhler 426641c372 Fix wrong calls do dchk6 and schk6 and string length in xerbla 2025-07-30 10:40:41 +02:00
langou 881bf80d44 Merge pull request #1149 from grisuthedragon/fix-lapack-version-output-in-tests
Fix format string in LAPACK tests to match two-digit minor versions
2025-07-29 08:30:58 -06:00
Martin Köhler e3951fbc25 fix linkage of cblas_xerbla 2025-07-29 15:47:57 +02:00
Martin Köhler fa6a30b24e Fix format string in LAPACK tests to match two-digit minor versions 2025-07-29 10:34:29 +02:00
Martin Köhler 7f5bcbbd07 Merge branch 'Reference-LAPACK:master' into implement-axpby 2025-07-29 10:06:34 +02:00
langou 9af1f59df5 Merge pull request #1148 from ndingle-arm/cmake-parallel-patch
Capture module file dependencies in CMake
2025-07-23 10:07:57 -06:00
Nick Dingle 146da1d409 Capture module file dependencies in CMake
The modulefile la_xisnan.F90 depends on the modulefile
la_constants.f90 but this dependency is not expressed in the CMake
rules. In some parallel builds we have observed failures where
compilation of objects that depend on la_constants.mod starts before
compilation of la_constants.f90 has finished.

This patch modifies CMakeLists.txt to ensure that la_constants.mod is
built before any other object or modulefile that depends on it.
2025-07-23 11:05:22 +01:00
Martin Köhler 6fa7bf69d1 Fix suggestions by angsch 2025-07-10 12:19:00 +02:00
Martin Köhler e6eeebd789 Merge branch 'Reference-LAPACK:master' into implement-axpby 2025-07-10 11:25:58 +02:00
langou 98f34fd3c9 Merge pull request #1145 from martin-frbg/issue1144
Have LAPACKE_STRSEN/DTRSEN allocate IWORK to at least one element in all job types
2025-07-09 20:01:20 -06:00
Martin Kroeker 2d56b7e6a2 Allocate IWORK to hold at least the one element for workspace queries 2025-07-09 23:26:12 +02:00