Commit Graph
3483 Commits
Author SHA1 Message Date
Simon Maertens c0e868327e Fixed CBLAS symbol name: cblas_zaxbpy_64 -> cblas_zaxpby_64 2026-05-13 14:03:03 +02:00
langou 67c7c8ac05 Merge pull request #1274 from kyungminlee/fix-sggev3-query
Gate SGGEV3 workspace query on ILV, not ILVL
2026-05-11 07:54:43 -06:00
langou e014d6ce59 Merge pull request #1275 from kyungminlee/fix-dlaswlq-nb
Reject NB=0 in DLASWLQ argument validation
2026-05-11 07:38:43 -06:00
Kyungmin Lee 971961bd21 Gate SGGEV3 workspace query on ILV, not ILVL
The actual SLAQZ0 call uses 'S' when ILV is true and 'E' otherwise,
but the query gated that choice on ILVL, undersizing LWORK for
JOBVL='N', JOBVR='V'. Mirror DGGEV3: gate SLAQZ0 and SGGHD3 on ILV,
SORGQR on ILVL.
2026-05-11 04:58:16 -07:00
Kyungmin Lee f51069fa5e Reject NB=0 in DLASWLQ argument validation
DLASWLQ tested NB.LT.0 instead of NB.LE.0, accepting NB=0 silently and
falling into the divide-by-(NB-M) path on line 255 (KK = MOD((N-M),(NB-M)))
when M=0. The single/complex/double-complex siblings all use NB.LE.0.
2026-05-11 04:38:33 -07:00
langou 5da5348aa0 Merge pull request #1242 from nakatamaho/cleanup/con-lsame-norm
SRC: use LSAME for NORM checks in condition routines
2026-05-11 04:45:26 -06:00
langou 382c275cb1 Merge pull request #1273 from kyungminlee/fix-laqz0-xerbla-sign
Fix XERBLA sign in ?LAQZ0 LWORK check
2026-05-11 01:59:23 -06:00
langou a2303521f8 Merge pull request #1272 from kyungminlee/fix-info-position-drift
Fix INFO=-N in argument-validation
2026-05-11 01:59:04 -06:00
langou 6e881c3dce Merge pull request #1271 from kyungminlee/fix-stale-externals
Fix stale externals and documentation typo
2026-05-11 01:58:31 -06:00
langou 6d7772085a Merge pull request #1270 from kyungminlee/fix-dgejsv-lwork
Fix workspace size argument in DGEJSV inner DGESVJ call
2026-05-11 01:57:58 -06:00
langou 62b2396d7b Merge pull request #1269 from kyungminlee/fix-sgejsv-joba
Fix JOBA argument in SGEJSV inner SGESVJ call (LSVEC && RSVEC branch)
2026-05-11 01:12:32 -06:00
Kyungmin LeeandClaude Opus 4.7 b172f0b839 Fix XERBLA sign in ?LAQZ0 LWORK check
The argument-validation block at the top of ?LAQZ0 sets INFO=-i and
correctly calls XERBLA(name, -INFO), but the second validation block
(LWORK .LT. LWORKREQ) calls XERBLA(name, INFO) with the negative
value. XERBLA prints its argument verbatim, so this would emit
"parameter number -18 had an illegal value" instead of "18".

Affects S/D/C/Z LAQZ0; ?LAQZ2 and the rest of LAPACK already use
the correct -INFO form.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 04:43:38 -07:00
Kyungmin LeeandClaude Opus 4.7 34fffb77e7 Fix INFO=-N in argument-validation
INFO=-N value reported to XERBLA on a too-small workspace
(or LRWORK) does not match the actual signature position of the
argument being tested.

Sites:
- ?ORBDB4 / ?UNBDB4: LWORK test reported -14 (WORK), should be -15.
- ?GGSVD3: LWORK.LT.1 test reported -24 (the INFO arg in S/D;
  IWORK in C/Z), should be -22 (LWORK).
- ?ORCSD / ?UNCSD: LWORK test reported -22 (LDU2), should be -28
  (LWORK). Z/C also report LRWORK as -24 (LDV1T), should be -30.
- C/ZLAQZ0: LWORK test reported -19 (RWORK), should be -18.
  (S/DLAQZ0 use ALPHAR+ALPHAI instead of ALPHA, so LWORK is at
  position 19 there and -19 is already correct.)
- C/ZLAQZ2: LWORK test reported -26 (RWORK), should be -25.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 04:39:07 -07:00
Kyungmin Lee effffd0f9a Add SGGES XERBLA EXTERNAL and fix ZRSCL doc-header typo
SGGES body calls XERBLA at line 423 but the EXTERNAL block omits it;
DGGES correctly lists XERBLA. Add it.

ZRSCL's Doxygen header advertised the routine as ZDRSCL (which is a
different routine that ZRSCL calls internally). Fix the brief, the
download links, and the filename references so the generated docs
correspond to ZRSCL.
2026-05-09 04:08:29 -07:00
Kyungmin Lee 12711abd19 Fix stale / missing EXTERNAL declarations in 6 routines
- dlaqp2.f:171: replace stale DLARF with DLARF1F
  (body calls DLARF1F; slaqp2 already declares SLARF1F).
- zhetrf_aa.f:166: drop stale ZGEMV
  (body calls only ZGEMM; chetrf_aa correctly omits CGEMV).
- zlahef_aa.f:173: drop stale ZGEMM
  (body calls only ZGEMV; clahef_aa correctly omits CGEMM).
- slaqr2.f:314: replace stale SLARF1L with SLARF1F
  (body calls SLARF1F).
- sgelqt.f:147: drop stale SGEQRT2 and SGEQRT3
  (body calls only SGELQT3 and SLARFB).
2026-05-09 04:07:17 -07:00
Kyungmin Lee 151acca477 Fix JOBA argument in SGEJSV inner SGESVJ call (LSVEC && RSVEC branch)
In the LSVEC && RSVEC branch of SGEJSV, the IF arm fills the strict
upper triangle of U with U(p,q) = -SIGN(TEMP1, U(q,p)) while the
ELSE arm zeros it via SLASET('U', ...). Both arms then call SGESVJ
on U with JOBA='L', which tells SGESVJ that U is lower triangular
and the strict upper is zero. After the IF arm that is not true:
SGESVJ silently drops the upper-triangular data the IF arm just
deposited, biasing the SVD result. JOBA='G' (general) is correct
for both arms; DGEJSV already uses 'G' at the matching call site.
2026-05-09 03:55:34 -07:00
Kyungmin Lee 4543266101 Fix workspace size argument in DGEJSV inner DGESVJ call
In the RSVEC && !LSVEC && !ALMORT branch of DGEJSV, the inner DGESVJ
call passes WORK(N+1) as the workspace base (offset by N) but the
full LWORK as the workspace size. DGESVJ may then write up to N
entries past the end of WORK(LWORK). The float sibling SGEJSV
correctly passes LWORK-N at the same call site.
2026-05-09 03:55:18 -07:00
langou fd5303c002 Merge pull request #1268 from kyungminlee/fix-typo
Fix typo in ZLA_SYRFSX_EXTENDED
2026-05-08 03:50:59 -06:00
langou ceb69d600f Merge pull request #1267 from kyungminlee/fix-max
Remove unused intrinsic MAX
2026-05-08 03:50:28 -06:00
langou ea1b145b04 Merge pull request #1266 from kyungminlee/master
Remove unused parameter ONE
2026-05-08 03:48:01 -06:00
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
Kyungmin Lee f038bec2de Remove unused intrinsic MAX
Contrary to their single precision counterparts,
DLANSF and ZLANHT declare MAX intrinsic which is not used.
2026-05-07 21:30:03 -07:00
Kyungmin Lee e830eed287 Remove unused parameter ONE
There are a number of places on the double precision half with
unused parameter ONE.
2026-05-07 21:23:25 -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 11b673cf82 SRC: use LSAME for NORM checks in condition routines
Replace direct NORM character comparisons for the one-norm option with LSAME in the condition estimation routines. This keeps the '1' checks consistent with the existing LSAME handling for the equivalent 'O' option.
2026-04-14 08:34:56 +09:00
NAKATA Maho c537b6b5d3 TESTING/LIN: use LSAME for UPLO checks in latsp and latsy
Replace direct UPLO character comparisons in the LATSP and LATSY test helpers with LSAME. This keeps option handling consistent with the LAPACK convention for case-insensitive checks.
2026-04-14 08:24:10 +09: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