Commit Graph
3459 Commits
Author SHA1 Message Date
Kyungmin Lee ead2f6c8b3 Fix typo in ZLA_SYRFSX_EXTENDED
XERBLA reports ZLA_HERFSX_EXTENDED. Fix the routine name
2026-05-07 21:35:54 -07:00
langou d6b82864ed Merge pull request #1265 from kyungminlee/master
Fix typo in ?orbdb3/?unbdb3
2026-05-07 05:39:30 -06:00
Kyungmin Lee eed4e74fcb Fix typo in ?orbdb3/?unbdb3
Bug: In ?ROT call LDX11 is passed as the leading dimension of X21.

Fix: use LDX21 as the INCY argument, matching how X21 is addressed
everywhere else in the same loop body.
2026-05-06 20:39:24 -07:00
langou 8cd9026676 Merge pull request #1240 from nakatamaho/cleanup/lalsd-lsame-uplo
SRC: use LSAME for UPLO checks in lalsd
2026-05-03 06:48:09 -06:00
langou 71bf5ec123 Merge pull request #1239 from nakatamaho/cleanup/gttrs-lsame-trans
SRC: use LSAME for TRANS checks in gttrs
2026-05-03 06:14:36 -06:00
langou 20318b7f72 Merge pull request #1238 from nakatamaho/cleanup/pttrs-lsame-uplo
SRC: use LSAME for UPLO checks in pttrs
2026-05-03 05:18:55 -06:00
langou 20044bbd95 Merge pull request #1225 from ndingle-arm/cumlq-workspace-patch
Calculate CUNMLQ LWORK consistently when K=0
2026-04-24 13:53:49 -06:00
langou 7d2bfce176 Merge pull request #1253 from ACSimon33/getenv_s
Improve getenv usage
2026-04-22 20:16:55 -06:00
langou 8a1ae32a4c Merge pull request #1255 from ACSimon33/remove_bind_c
Remove BIND(C) for 3.13.0 release
2026-04-22 19:36:56 -06:00
langou d1d33467ee Merge pull request #1256 from ACSimon33/intel_compilers_on_windows
Fixes for Intel compilers on Windows
2026-04-22 19:33:37 -06:00
langou 1f86b23382 Merge pull request #1257 from ACSimon33/wrong_external_symbols
Fixed wrong external symbol declarations
2026-04-22 19:32:02 -06:00
Simon Maertens 5e1838bed7 Fixed wrong external symbol declarations: CGER -> CGERC and ZLARF1 -> ZLARF1L 2026-04-23 00:34:09 +02:00
Simon Maertens fd686cd6b9 Disable weak linkage of cblas_xerbla on Windows 2026-04-22 23:46:04 +02:00
Simon Maertens f4ba39a0ab Choose correct C complex types for Intel compilers on Windows 2026-04-22 23:44:55 +02:00
Simon Maertens c2340cf803 Remove BIND(C) statements since they break armflang, nvfortran, and nagfor builds. 2026-04-22 22:01:38 +01:00
Simon Maertens de2f9be7f8 Fixed some minor suggestions from copilot 2026-04-22 17:35:03 +02:00
Simon Maertens 5969737ba1 Use getenv_s on Windows and make the use of gentenv on unix safer by allocating a new char array for the environment variable. 2026-04-21 19:02:30 +02:00
langou 09e8a7b317 Merge pull request #1173 from foxtran/update/function-arguments
Update Function Arguments in `?gees`, `?geesx`, `?gges`, `?ggesx`, and `?gges3`
2026-04-18 18:06:48 -06:00
langou 88dc26084d Merge pull request #1247 from martin-frbg/appveyor-flang22
Update the ancient flang version used in Appveyor CI
2026-04-17 07:47:34 -06:00
langou 5276a67314 Merge pull request #1248 from martin-frbg/cmake-findpython
Update the search strategy for a Python3 interpreter
2026-04-17 07:41:14 -06:00
Martin Kroeker a53ab62307 Update the search strategy for a Python interpreter 2026-04-17 12:38:58 +02:00
Martin Kroeker 9aed94de6d Update flang to 22 (requiring newer cmake and Visual Studio 2017 too) 2026-04-17 12:23:14 +02:00
langou eb4f2b1d7f Merge pull request #1228 from ndingle-arm/dmd-patch
Testing: initialize ISPEC=9 before running DMD tests
2026-04-15 06:48:15 -06:00
langou f6fb1114ab Merge pull request #1232 from nakatamaho/fix/testing-csd-input-count
TESTING: fix inconsistent entry count in csd.in
2026-04-14 09:28:24 -06:00
NAKATA Maho bb2bda9ed3 SRC: use LSAME for UPLO checks in lalsd
Replace direct UPLO character comparisons in the LALSD routines with LSAME. This keeps option handling consistent with the surrounding LAPACK convention for case-insensitive checks.
2026-04-14 08:17:35 +09:00
NAKATA Maho c1afcaef18 SRC: use LSAME for TRANS checks in gttrs
Replace direct case-sensitive TRANS character comparisons in the GTTRS routines with LSAME. This keeps option handling consistent with the surrounding LAPACK convention for case-insensitive checks.
2026-04-14 07:56:55 +09:00
NAKATA Maho 6a1be421a1 SRC: use LSAME for UPLO checks in pttrs
Replace direct case-sensitive UPLO character comparisons in CPTTRS and ZPTTRS with LSAME. This matches the surrounding LAPACK convention for case-insensitive option checks.
2026-04-14 07:52:43 +09:00
NAKATA Maho 9def0ea171 TESTING/EIG: use named constants in errgg and zerrhs tests
Replace hard-coded floating-point constants with named constants in selected TESTING/EIG error-exit tests. This keeps the test setup code consistent with surrounding LAPACK test style.
2026-04-14 07:41:30 +09:00
NAKATA Maho 46604b2708 cleanup: normalize ZERO/ONE declaration order in TESTING/EIG error-exit tests
Reorder ZERO and ONE declarations and PARAMETER definitions
for consistency in the TESTING/EIG error-exit test sources.

No functional change intended.
2026-04-14 07:36:16 +09:00
langou 14f3af6976 Merge pull request #1234 from nakatamaho/cleanup/csdts
cleanup: separate real and complex zero/one constants in {c,z}csdts
2026-04-13 07:32:58 -06:00
langou 1c493c4c5b Merge pull request #1233 from nakatamaho/cleanup/testing-lin-drvrf-constants
TESTING/LIN: use named constants in drvrf tests
2026-04-13 07:31:56 -06:00
NAKATA Maho c21b6a6754 ci: retrigger actions 2026-04-12 12:15:24 +09:00
langou ff3f98214f Merge pull request #1230 from nakatamaho/cleanup/eig-errbd-errhs-constants
TESTING/EIG: use named ONE constants in several error-exit tests
2026-04-11 09:08:37 -06:00
NAKATA Maho 820ef1d794 cleanup: separate real and complex zero/one constants in {c,z}csdts
Replace REALONE/REALZERO and complex ZERO/ONE with
type-specific named constants in the CSD test routines:
ZERO/ONE for real scalars, and CZERO/CONE for complex values.

Update {C,Z}LASET, {C,Z}GEMM, and {C,Z}HERK call sites to use
the matching constant type, and replace literal imaginary zeros
in CMPLX/DCMPLX calls with the named real ZERO constant.

No functional change intended.
2026-04-11 23:02:17 +09:00
NAKATA Maho 25d74b31a7 TESTING/LIN: use named constants in drvrf tests
Replace hard-coded floating-point constants with existing named
  constants in the drvrf3 and drvrfp test drivers. This keeps the test
  initialization code consistent with surrounding LAPACK test style.
2026-04-11 20:29:54 +09:00
NAKATA Maho 8380fe2c40 TESTING: fix inconsistent entry count in csd.in
TESTING/csd.in declares that the number of values of M, P, and Q
is 10, but each of the three data lines actually contains 11
entries.

Update the count to 11 so the header matches the test input data.
This is a test-data consistency fix only.
2026-04-11 20:15:23 +09:00
NAKATA Maho dd5d8da796 fix build 2026-04-11 20:12:06 +09:00
NAKATA Maho 7f8ab7bfac cleanup: use named ONE constants in TESTING/EIG error-exit tests
Replace hard-coded 1./1.D0 literals with the named constant ONE
in several TESTING/EIG error-exit test routines.

Add missing ONE parameter declarations where needed so the test
setup code follows the surrounding named-constant style.
2026-04-11 14:19:18 +09:00
Nick Dingle 88e91a5f23 Testing: initialize ISPEC=9 before running DMD tests
The DMD test drivers use the testing ILAENV from TESTING/EIG, where
ISPEC=9 returns IPARMS(9). The drivers never initialized that entry,
so the xGESDD/xBDSDC divide-and-conquer cutoff SMLSIZ came from
undefined state.

This undefined test state can lead to invalid xLASD0 calls and a large
number of false failures. In this patch we initialize XLAENV(9,25) in
the s/c/d/z DMD test drivers so the tests start from a defined ILAENV
configuration.
2026-04-10 16:17:19 +01:00
Nick Dingle 1ece76f528 Calculate CUNMLQ LWORK consistently when K=0
CUNMLQ's documentation says LWORK must be:

          If SIDE = 'L', LWORK >= max(1,N);
          if SIDE = 'R', LWORK >= max(1,M).

In the current implementation, however, when K=0 a workspace query
will return LWORK=1 in WORK(1). This means a subsequent call to CUNMLQ
with a workspace of that size will fail with INFO = -12.

The other ???MLQ routines return consistent values of LWORK when K=0
(that is, equal to or greater than NW) so this patch makes CUNMLQ's
behaviour match theirs.
2026-04-09 11:31:59 +01:00
langou 774b05d15d Merge pull request #1221 from langou/origin/follow_up_on_PR1146
Follow up on pr1146 (v2)
2026-03-31 16:57:12 -06:00
Julien Langou 944e920ac6 address @mgates' suggestion: "I tend to reset pointers to NULL after freeing them, to avoid any possible confusion." 2026-03-31 09:18:46 -06:00
Julien Langou 6c4efb0307 address @mgates' suggestion: "A comment that joba == e is using V as workspace would be helpful. (Per later comment when transposing results.)" 2026-03-31 09:07:39 -06:00
Julien Langou bb1afab469 went back and forth on how to handle the case ((m==0)||(n==0)) 2026-03-28 14:23:22 -06:00
Julien Langou 077a97f9d7 address @mgates3 requested changes on this pull request (thanks!) 2026-03-28 14:15:52 -06:00
langou ed4d486f65 Merge branch 'Reference-LAPACK:master' into follow_up_on_PR1146 2026-03-28 13:40:15 -06:00
langou a884b29254 Merge pull request #1213 from langou/MINMN_EQ_0 2026-03-28 10:19:46 -06:00
langou d3388ade69 Merge pull request #1220 from nakatamaho/topic/xLARGV-fix-helper-naming
clargv,zlargv: rename local ABS1 helper to CABSMAX
2026-03-28 08:09:49 -06:00
langou 9130566c33 Merge pull request #1219 from nakatamaho/refactor/unify-abs1-to-cabs1
refactor: rename ABS1 statement function to CABS1 for consistency
2026-03-28 08:05:47 -06:00
langou d6bd7e3f4e Merge pull request #1218 from nakatamaho/fix/blas-cabs1_axpy
BLAS: inline SCABS1/DCABS1 into CAXPY/ZAXPY as statement function CABS1
2026-03-28 08:05:11 -06:00