Commit Graph
576 Commits
Author SHA1 Message Date
Angelika Schwarz e6a8f4b98d Use dynamic allocation in SYL01 tests 2023-06-17 10:51:33 +02:00
langou fd82c8710b Merge branch 'master' into master 2023-06-01 10:42:23 -06:00
langou e860053d30 Merge pull request #795 from dklyuchinskiy/lapack-extend-error-checks-sysv-sytd2-gehd2
extend tests for error exit sysv sytd2 gehd2
2023-04-14 19:08:37 -06:00
musvaage f3fff11ccf typos 2023-04-11 13:52:58 -05:00
Julien Langou 45b5d663d4 fix #813 2023-04-04 20:21:43 -06:00
Angelika Schwarz 542f4f894d Remove LABAD from testing routines 2023-03-22 09:00:44 +01:00
Daniel Bielich e52daa3151 Fixing compilation warning error for git 2023-03-21 17:14:46 -04:00
Daniel Bielich 1e2d26e27e adding correction to schkdmd tester 2023-03-21 17:11:25 -04:00
Daniel Bielich c91783e615 Merge branch 'master' of https://github.com/dbielich/lapack88 2023-03-21 16:12:27 -04:00
Daniel Bielich 25030ae79e Improving testers - will need to investigate float precision impl 2023-03-21 16:11:43 -04:00
Daniel Bielich bd1204d726 Merge branch 'Reference-LAPACK:master' into master 2023-03-21 14:59:40 -04:00
langou cfaa5aefab Merge pull request #682 from angsch/trevc3
Add numerical tests for trevc3
2023-03-18 07:17:43 -06:00
Daniel Bielich 3b08c51597 Updating src files, testing all precisions. Some clean-up remains but overall addition is complete 2023-03-16 17:28:32 -04:00
EduardFedorenkov ef12723763 fix bug in complex precision tests (c|z)het21 2023-02-17 15:32:00 +07:00
Dmitry Klyuchinsky 5fd6d64734 fix rfp test: divide rows of matrix by corresponding diagonal element for DIAG = U 2023-02-14 15:21:46 +07:00
Dmitry Klyuchinsky 56934c7699 fix typo in driver for sysv_aa_2stage to run correct error checker 2023-02-14 12:33:38 +07:00
Dmitry Klyuchinsky aa43f301e5 add test for error exit gehd2 2023-02-14 12:30:58 +07:00
Dmitry Klyuchinsky 86d01a7aa2 extend test for error exit for sysv routines 2023-02-14 12:27:24 +07:00
Dmitry Klyuchinsky ab92781296 add test for error exit sytd2/hetd2 2023-02-14 12:18:26 +07:00
Daniel Bielich c65a7a77d4 Progress to resolving the bug with complex testers 2023-02-09 13:10:42 -05:00
langou 351b443ef2 Merge pull request #764 from bartoldeman/fix-cslatrs3-test 2022-12-07 11:11:53 -07:00
Daniel Bielich 21059dca70 Progressing code 2022-12-06 16:17:38 -05:00
langou 77fac7e835 Merge pull request #758 from dklyuchinskiy/lapack-fix-failure-eigtstz-zec
Fixed bug in array bounds in complex syl01 test
2022-11-23 07:08:41 -07:00
Weslley S. Pereira 9067b6b23c Merge pull request #755 from dklyuchinskiy/master
Fix bug in new test case for LAPACK 3.11 SLATRS3
2022-11-22 12:06:50 -07:00
Bart Oldeman 7f09f40bf4 Fix SLATRS3 and CLATRS3 tests
Some SLATRS3 tests were failing with OpenBLAS where the RHS has
a BIGNUM (=Infinity in this test) component. OpenBLAS SSCAL, when
multiplying with 0, will turn this component into 0, unlike
reference BLAS which turns it into NaN. While NaN looks more correct
it still did not explain why DLATRS3 tests were succeeding where
DSCAL has the same difference between reference and OpenBLAS.

Diffing the test code unmasked a few bugs, which makes the test succeed
and also unmasked a bug in the CLATRS3 test.

The ZLATRS3 and DLATRS3 tests look correct to me.
2022-11-22 01:08:27 +00:00
Simon Märtens 273d758e4a Fixed wrong external function name '[D|Z]GESVQ' -> '[D|Z]GESVDQ' 2022-11-18 16:37:47 +01:00
Dmitry Klyuchinsky 9b5e2c50e3 fixed bug in array bounds in complex syl01 test 2022-11-18 17:58:06 +07:00
Daniel Bielich 7bfb8ffbff single precision tester finished, working on double complex 2022-11-17 14:43:09 -05:00
Dmitry Klyuchinsky 7f9f67572a fix wrong indexation in slatrs3 test 2022-11-17 19:06:00 +07:00
Daniel Bielich c4adf64dc0 Removing unused variables 2022-11-15 13:25:11 -05:00
scr2016 d5203e94d5 added missing testing for error exits for ZGELST routine, i.e.
modified TESTING/LIN/zerrls.f accordingly. Also fixed comments typo in
[S,D,C,Z]GELST.
modified:   SRC/cgelst.f
modified:   SRC/dgelst.f
modified:   SRC/sgelst.f
modified:   SRC/zgelst.f
modified:   TESTING/LIN/zerrls.f
2022-11-10 07:00:47 -08:00
Daniel Bielich fd272e7f44 Progress to the testing implementation in double precision 2022-11-09 11:40:48 -05:00
Daniel Bielich 7aeab0792e Fix for complex dmdq codes and progress to tester 2022-11-02 14:11:16 -04:00
scr2016 b8f586bcc4 added a new routines [S,D,C,Z]GELST and test code for the least
squares algorithm that solves overdetermined or underdetermined systems for
GE matrices using QR or LQ factorization with compact WY representation
of Q inside the routine.

*GELST is similar to *GELS, but unlike *GELS does not compute triangular blocks
twice, i.e. runs faster.

modified:   SRC/Makefile
new file:   SRC/cgelst.f
new file:   SRC/dgelst.f
new file:   SRC/sgelst.f
new file:   SRC/zgelst.f
modified:   TESTING/LIN/alahd.f
modified:   TESTING/LIN/cdrvls.f
modified:   TESTING/LIN/cerrls.f
modified:   TESTING/LIN/ddrvls.f
modified:   TESTING/LIN/derrls.f
modified:   TESTING/LIN/sdrvls.f
modified:   TESTING/LIN/serrls.f
modified:   TESTING/LIN/zdrvls.f
2022-10-29 02:47:52 -07:00
Daniel Bielich dc9b4e8552 Updating precision routines and beginning integration of tester 2022-10-19 14:37:12 -04:00
Angelika Schwarz ca9fa5a016 Fix lower triangular band matrix generation
Closes #343
2022-10-12 18:22:51 +02:00
langou 7012e36507 Merge pull request #651 from angsch/master
Add level-3 BLAS triangular Sylvester equation solver
2022-10-06 14:22:58 -06:00
langou 83c7e0def1 Merge pull request #703 from weslleyspereira/explicit-all-conversions
Define conversions explicitly, and use more rigorous flags in the CI
2022-10-06 13:57:21 -06:00
Angelika Schwarz 970a7721d8 Add BLAS-3 robust triangular solver T*X = B*diag(s1, ..., sN)
An extensions of LATRS solving T*x = s*x to many right-hand sides,
allowing the usage of BLAS-3.

The new algorithm tends to use less aggressive scaling,
in particular for larger matrices.
2022-09-18 15:22:13 +02:00
Angelika Schwarz 1c1263ec24 Use unblocked code if insufficient workspace is provided 2022-09-14 20:12:53 +02:00
Angelika Schwarz 05f9e54f0f Add ctrsyl3 and corresponding tests 2022-09-14 20:12:53 +02:00
Angelika Schwarz 079c185c6a Add ztrsyl3 and corresponding tests
The tests of ztrsyl via zget35 are on tiny matrices that fall into the
unblocked section of ztrsyl3. Add a new test file that checks ztrsyl(3)
for larger matrices and their compatibility: Every problem that is
solvable by ztrsyl must be solvable by ztrsyl3.
2022-09-14 20:12:53 +02:00
Angelika Schwarz 833cd585b5 Test [sd]trsyl3 2022-09-14 20:12:53 +02:00
Simon Maertens 40f565c4d6 Fixed the test dependencies of the test summary. Improved status message. 2022-08-22 10:49:19 +01:00
Weslley da Silva Pereira fdcd1de954 Removes all implicit conversions from the Fortran and add -Werror=conversion to the CI 2022-08-11 08:55:37 -06:00
Marcel Jacobse 35dd277cdd Fix type mismatches in function calls of testing code 2022-08-10 20:18:54 +02:00
langou 3381a0ec82 Merge pull request #685 from angsch/fixes
Fixes
2022-08-03 17:53:31 -06:00
Angelika Schwarz c8a5cf510e Fix out-of-bounds write in [ds]get40
The test driver allocates a scalar for INFO,
but the test writes to 3 entries. Revise
INFO allocation & propagation:

* Allocate sufficient space for the two INFOs
* Instead of discarding INFO computed in [ds]get40, return
  INFO to test driver
* Fix documentation of input/output arguments

[ds]get31: Fix typo in docs
2022-08-03 09:02:51 +01:00
Angelika Schwarz 22d172188c Add missing numerical tests for TREVC3
At least some tests, though there are still code paths
that are not covered
* input sizes defined in nep.in are small
* RWORK in [CZ]TREVC3 is de factor defined as N-vector
  from the input file and limits the blocked computation
2022-07-06 18:48:17 +01:00
Simon Maertens 7f2f7a339e Fixed nagfor warning: 'Low-precision data-value assigned to high-precision data-object' 2022-07-01 11:44:33 +01:00