Commit Graph
561 Commits
Author SHA1 Message Date
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
langou cfaa5aefab Merge pull request #682 from angsch/trevc3
Add numerical tests for trevc3
2023-03-18 07:17:43 -06: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
langou 351b443ef2 Merge pull request #764 from bartoldeman/fix-cslatrs3-test 2022-12-07 11:11:53 -07: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
Dmitry Klyuchinsky 7f9f67572a fix wrong indexation in slatrs3 test 2022-11-17 19:06:00 +07: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
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
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
Simon Maertens 7eacb5f6de Fixed line length > 72 in test files. 2022-06-29 09:43:18 +01:00
Angelika Schwarz d2a547a392 Fix precision mismatches in tests
* For REAL tests, replace 1.D0 with 1.0
* For CMPLX tests, replace CMPLX(1.D0, 1.D0) with CMPLX(1.0, 1.0)
* [sz]het01_aa.f: replace dimension cast DBLE(N) with REAL(N)
* [cz]syt01_aa.f: replace dimension cast DBLE(N) with REAL(N)
  and init CONE and CZERO as complex numbers
2022-05-25 19:36:47 +01:00
Angelika Schwarz b9b3c787fb Add missing error exit checks for nep
* add tests of TREVC3
* add workspace test for [DS]HSEQR that was already implemented for [CZ]HSEQR
2022-05-25 19:36:47 +01:00
Angelika Schwarz 50b17a234d Test error exists of [CZ]GEBD2
[SD]GEBD2 are already tested. Closes #47
2022-05-25 19:36:41 +01:00
Angelika Schwarz c137eb15fa Fix leading dimension check
* TPMLQT, GEMLQT: Revert check of ldv and correct docs
* Add input parameter checks for LASWLQ
* LAMSWLQ: Fix mixed up column count of rhs (n) and original matrix (m)
2022-04-03 13:16:40 +01:00
Angelika Schwarz 11d3fa9436 Fix mixed up column count of rhs (n) and original matrix (k)
* add input parameter tests
* revert check of n when it denotes the column of the matrix to be updated
  and correct the docs
* relax constraint on mb and update docs - special cases outside of the docs
  are handled by a call to GEQRT
2022-04-03 13:12:06 +01:00
Igor Zhuravlov 7165ff7108 fix typo in TESTING/EIG/?chkst2stg.f comment 2021-09-06 15:50:13 +10:00
Igor Zhuravlov 78db64ab53 fix typo in TESTING/EIG/?chkst2stg.f comment 2021-09-06 15:47:45 +10:00
Igor Zhuravlov f06a027f14 unify comments: expression for residual
This resolves discussion in PR #582.
2021-09-06 15:39:29 +10:00
langou 9e647a93a2 Merge pull request #582 from jip/fix
Fix some typos in comments
2021-08-30 13:51:16 -06:00
langou d834dfc3dd Merge pull request #593 from nakatamaho/master
Fix the number of matrices to test in TESTING/{s,c,d,z}ed.in (6->7)
2021-08-30 13:50:16 -06:00
weslley.spereira 15fba4bb3b Fix (c,z)LASET calls in CCHKST2STG and ZCHKST2STG 2021-08-24 11:35:31 -06:00
NAKATA Maho 9463d5bf3c se2.in causes infinite loop when dsyevr or dsyevr_2stage failed. 2021-07-21 22:23:25 +09:00
Isuru Fernando 95fc2b3319 Fix the usage of OMP_SET_NUM_THREADS(1) as well 2021-07-15 15:38:00 -05:00
Isuru Fernando 56aea449c6 Make the type of N_THREADS to be INTEGER*4 explicitly
When building with -fdefault-integer=8, the type changes, but
only some compiler like gfortran implements `omp_set_num_threads`
with integer*8 input. When swapping the openmp library with
LLVM openmp, this doesn't work yet. Until LLVM openmp is fixed
explicitly setting the type fixes the build issue.
2021-07-14 11:57:59 -05:00