Commit Graph

83 Commits

Author SHA1 Message Date
Martin Kroeker 18b19d135b
C_LAPACK: Fixes to make it compile with MSVC (#3605)
* Fix f2c-like support functions to compile with MSVC, and
re-enable C_LAPACK for MSVC in CMAKE

* Add MSVC&flang build to Azure CI in order to check C_LAPACK correctness
2022-04-17 17:49:38 +02:00
Martin Kroeker b7873605d4
Use f2c translations of LAPACK when no Fortran compiler is available (#3539)
* Add C equivalents of the Fortran routines from Reference-LAPACK as fallbacks, and C_LAPACK variable to trigger their use
2022-04-09 22:38:58 +02:00
Aisha Tammy 3efbf968f1 create INDEX64 target 2022-03-24 19:09:23 +01:00
Martin Kroeker e2bf3f31a6
Add .NOTPARALLEL: as a workaround for builds on DFS 2022-02-09 22:09:25 +01:00
Isuru Fernando 02d4a49761 Also make sure the `1` is INTEGER*4 for OMP_SET_NUM_THREADS 2021-07-27 23:44:51 +02:00
Martin Kroeker f176ff90af
Declare N_THREADS as *4 for compatibility of INTERFACE64 builds with LLVM libomp 2021-07-14 22:42:43 +02:00
Martin Kroeker f4d4abd423
Declare N_THREADS as *4 for compatibility of INTERFACE64 builds with LLVM libomp 2021-07-14 22:41:45 +02:00
Martin Kroeker 2b9443b7e7
Declare N_THREADS as *4 for compatibility of INTERFACE64 builds with LLVM libomp 2021-07-14 22:40:29 +02:00
Martin Kroeker fe0e66564e
Declare N_THREADS as *4 for compatibility of INTERFACE64 builds with LLVM libomp 2021-07-14 22:39:20 +02:00
Martin Kroeker 5958ffc9b6
Declare DZASUM as EXTERNAL 2021-06-16 09:43:39 +02:00
Martin Kroeker cd0e4aadb1
Declare ZDROT as EXTERNAL 2021-06-16 09:41:18 +02:00
Martin Kroeker e2621ef93a
Declare SROT as EXTERNAL 2021-06-16 09:40:15 +02:00
Martin Kroeker 9e1b43ea9b
Declare DROT as EXTERNAL 2021-06-16 09:39:28 +02:00
Martin Kroeker 5269348178
Declare CSROT as EXTERNAL 2021-06-16 09:35:12 +02:00
Martin Kroeker 92e024bbb3
Declare SCASUM as EXTERNAL 2021-06-16 09:33:23 +02:00
Martin Kroeker 3a53207cc9
Fix spurious error exit test failures in the ?chktsqr tests (LAPACK564) 2021-05-22 14:29:45 +02:00
Martin Kroeker 15b9d6b4a7
Delete zchkaa.f 2021-05-14 19:55:31 +02:00
Martin Kroeker f7bcd962c1
Delete schkaa.f 2021-05-14 19:54:54 +02:00
Martin Kroeker 93cc066921
Delete dchkaa.f 2021-05-14 19:54:13 +02:00
Martin Kroeker 2c7d4a7766
Delete cchkaa.f 2021-05-14 19:53:38 +02:00
Martin Kroeker eef1c42f03
Convert ?chkaa to use dynamic allocation for the larger arrays 2021-05-14 19:53:03 +02:00
Martin Kroeker 88b70fba3e
Add new tests for Householder reconstruction functions from 3.9.1 2021-05-02 19:28:21 +02:00
Martin Kroeker 8e95a1e18d
Merge pull request #3195 from martin-frbg/lapack536
Apply lapack-testing fix from Reference-LAPACK PR536
2021-04-28 18:17:25 +02:00
Martin Kroeker 13a29d13fd
Apply lapack-testing fix from Reference-LAPACK PR536
fixes changing back from a single OMP thread for error exit testing to the originally requested number of threads for computational tests
2021-04-27 15:48:22 +02:00
Martin Kroeker 3526ff2507
Apply fixes from Reference-LAPACK PR538 2021-04-27 12:52:49 +02:00
Martin Kroeker 30d835168a
Merge pull request #3088 from xoviat/msvc
add misc fixes.
2021-03-14 17:14:28 +01:00
Martin Kroeker 9564f688c4
Adjust build rules for ?chkee.F 2021-02-28 18:57:05 +01:00
Martin Kroeker 90c1776c86
Adjust build rules for ?chkee.F 2021-02-28 18:53:20 +01:00
Martin Kroeker 9cf861e8fa
Add rewritten cchkee.F from Reference-LAPACK PR335 2021-02-28 18:51:03 +01:00
Martin Kroeker 9b7b1da133
Add rewritten dchkee.F from Reference-LAPACK PR335 2021-02-28 18:50:26 +01:00
Martin Kroeker a5ab891292
Add rewritten schkee.F from Reference-LAPACK PR335 2021-02-28 18:49:50 +01:00
Martin Kroeker 90bb4ac821
Add rewritten zchkee.F from Reference-LAPACK PR335 2021-02-28 18:49:10 +01:00
Martin Kroeker 23a0d1bc1f
Delete zchkee.f 2021-02-28 18:47:06 +01:00
Martin Kroeker 0e96c378fd
Delete schkee.f 2021-02-28 18:46:52 +01:00
Martin Kroeker ee16efff3c
Delete dchkee.f 2021-02-28 18:46:38 +01:00
Martin Kroeker 0197519dd7
Delete cchkee.f 2021-02-28 18:46:08 +01:00
xoviat 3165c915b6 fix test helpers 2021-01-27 15:24:49 -06:00
Martin Kroeker efe1ad4700
Add Makefile support for enabling only some variable types 2020-10-11 14:48:23 +02:00
Martin Kroeker 7d9c77f421
Correct dimension argument to xLASET
from Reference-LAPACK PR 438
2020-09-07 22:03:46 +02:00
Martin Kroeker 8a2a137a9e
Correct argument to SLASET (Improves fix from PR2778)
as explained by serguei-patchkovskii in Reference-LAPACK/lapack#438 (comment) , passing in an index of 1 instead of N leads to a standards violation accessing matrix A in SLASET, i.e. undefined behavior
2020-09-05 13:06:31 +02:00
Martin Kroeker 597010a968
Fix incorrect argument to SLASET
Reference-LAPACK issue 425 (and 318)
2020-08-14 00:41:56 +02:00
Martin Kroeker d64f1ef26b
Fix incorrect argument to SLASET
Reference-LAPACK issue 425 (and 318)
2020-08-14 00:40:24 +02:00
Martin Kroeker c62aad62e5
Fix incorrect calls to DLASET
Reference-LAPACK issue 429
2020-08-14 00:35:45 +02:00
Martin Kroeker 7219c9cb87
Merge pull request #2764 from martin-frbg/lapacktests
Fix array overruns in the LIN part of the LAPACK testsuite
2020-08-10 13:27:51 +02:00
Martin Kroeker 64259d521a
Fix use of unallocated array in workspace query and wrong type of argument to xSCAL 2020-08-09 13:02:27 +02:00
Martin Kroeker 6f5ca44c1a
Expand TAU array as SGEMQR/DGEMQR read elements 2 and 3 2020-08-09 12:59:20 +02:00
Martin Kroeker aaf1a17168
Apply current library name suffix 2020-08-02 17:58:33 +02:00
Martin Kroeker 53add6a80d
Apply library name suffix to openblas if any 2020-08-02 17:57:12 +02:00
Martin Kroeker f766024749
enable fortran for cmake 2020-07-09 13:44:25 +02:00
Martin Kroeker c502760bef
Modify for building with OpenBLAS 2020-07-09 13:13:16 +02:00