Simon Maertens
de3200808f
Fix CMAKE while loops for older CMake versions
2026-05-04 18:17:39 +02:00
Simon Maertens and Copilot
0fdfcd6e8a
Warn the user if Index-64 API is build as extended API and as the default API redundantly.
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-04 17:46:06 +02:00
Simon Maertens
3e31f5a146
Remove old WIndows complex settings
2026-05-04 16:49:37 +02:00
Simon Maertens and Copilot
fdee741c8a
Make sure to net generate 64bit suffixed source multiple times
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-04 16:49:03 +02:00
Simon Maertens
275bc4c7b3
Add some more CMake messages during configure
2026-05-04 15:08:22 +02:00
Simon Maertens and Copilot
a32aa4b33d
Added _64 suffixed CBLAS tests
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-04 15:05:05 +02:00
Simon Maertens
531e611e92
Added _64 suffixed BLAS tests
2026-05-04 14:52:10 +02:00
Simon Maertens
a59517ba04
Added _64 suffixed CTests
2026-05-04 14:41:37 +02:00
Simon Maertens
932ae47213
Added _64 suffixed LAPACK test suite targets
2026-05-04 14:37:35 +02:00
Simon Maertens
84ec80d3c4
Added BUILD_DEFAULT_API guards around default CBLAS/LAPACKE examples
2026-05-04 14:36:42 +02:00
Simon Maertens
b4ba901b29
Added API_SUFFIX to CBLAS tests
2026-05-02 18:05:38 +02:00
Simon Maertens
7872e2d6e6
Fixed CBLAS symbol name: cblas_zaxbpy_64 -> cblas_zaxpby_64
2026-05-02 18:05:38 +02:00
Simon Maertens
b8c9a988df
Add missing external declarations in SRC (and removed unused ones)
2026-05-02 18:05:38 +02:00
Simon Maertens
d4fbf36e37
Add missing external declarations in CBLAS/TESTING
2026-05-02 18:05:38 +02:00
Simon Maertens
a6c1fd8083
Removed unnecessary external declarations in TESTING/EIG
2026-05-02 18:05:37 +02:00
Simon Maertens
d31bf01141
Add missing external declarations in TESTING/LIN (and removed unnecessary ones)
2026-05-02 18:05:33 +02:00
Simon Maertens and Copilot
80b4f5328f
Add missing EXTERNAL declarations in TESTING/EIG
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-02 18:05:02 +02:00
Simon Maertens
2eaac71bfd
Fixed missing EXTERNAL declarations in LAPACK sources
2026-05-02 18:05:02 +02:00
Simon Maertens
b92efb680a
Added BUILD_DEFAULT_API CMake open to build only the 64bit extended API
2026-05-02 18:05:02 +02:00
Simon Maertens
530d74ca35
Added BUILD_DEFAULT_API CMake open to build only the 64bit extended API
2026-05-02 18:05:02 +02:00
Simon Maertens
01ad09c38b
New 64bit extended APi generator works
2026-05-02 18:05:02 +02:00
Simon Maertens
76dee5d357
Added CMake helper which generate a 64bit suffixed Fortran source from the original source file
2026-05-02 18:05:02 +02:00
Simon Maertens
d620756357
Bump required CMake version to 3.18 because we rely on Fortran_PREPROCESS
2026-05-02 18:05:02 +02:00
Simon Maertens
e18912f647
Use CMAKE_POSITION_INDEPENDENT_CODE instead of enabling PIC for each target individually
2026-05-02 18:05:02 +02:00
Simon Maertens
5a687f4922
Remove the explicit __declspec(dllexport) since that is handles already by CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
2026-05-02 18:05:02 +02:00
Simon Maertens
7cca0ea223
Skip cblas xerbla tests for shared Windows builds, since weak symbols are not supported and the trick to load the test xerbla first doesn't work on Windows when using shared libraries.
2026-05-02 18:05:02 +02:00
Simon Maertens
1092f35f41
Remove complex ?asum and ?nrm2 routines from real tests since they are already tested in the complex tests
2026-05-02 18:05:01 +02:00
Simon Maertens
cd40e85a40
Remove unnecessary test_inlude directory in the build folder
2026-05-02 18:05:01 +02:00
Simon Maertens
3afa8276ef
Fix export & import of global CBLAS symbols for shared Windows builds
2026-05-02 18:05:01 +02:00
Simon Maertens
2328018b6a
Set C standard explicitly to C99 (needed by Intel classic compiler to support _Complex)
2026-04-24 13:35:39 +02:00
Simon Maertens
1bc5d3a9ec
Added fp-model=strict for Intel on Windows; disabled deprecation warnings for Intel Classic compilers
2026-04-24 13:35:38 +02:00
Simon Maertens
8d8df56471
Remove unnessesary blas lib from LAPACKE examples (caused warning from macOS linker)
2026-04-24 13:35:38 +02:00
Simon Maertens
c59b28a9d1
Fixed all lines that were longer than 72 characters. That caused the Intel Classic compiler to fail on Windows
2026-04-24 13:35:31 +02:00
Simon Maertens
8bcbf5d7ca
Remove type specifiers of intrinsic function ETIME, since it has no effect (flang warning)
2026-04-23 18:00:17 +02: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
Simon Maertens
76a3a41e70
Fix typo
2026-01-13 10:58:50 -06:00
Simon Maertens
eeed198193
Only enable Fortran for CBLAS if Fortran compiler is found
2026-01-13 14:34:05 +01:00
Simon Maertens
583e0e289f
Enable Fortran for CBLAS since it also contains Fortran files
2026-01-13 13:11:47 +01:00
Simon Maertens
daed92441d
Replace FORTRAN_STRLEN type in the cblas_f77.h and handle the header like the lapack.h header.
2026-01-13 12:11:05 +01:00
Simon Maertens
54817e9385
Replace FORTRAN_STRLEN type in the lapack.h header if it's different from size_t
2026-01-13 12:07:05 +01:00
Simon Maertens
3bd8b3124b
Increase the size of TAU in tall-skinny QR error tests to 5 to fix reads from outside the array bounds.
2026-01-07 12:13:04 +01:00
Simon Maertens
794b0ba0ab
Fix format specifiers with lines longer than 72 characters.
2026-01-07 12:09:56 +01:00
Simon Maertens
54726b8177
Format message better.
2025-11-14 14:51:38 +01:00
Simon Maertens
cbaf8d377f
Disable loop vectorization for GNU Fortran 14.0-14.4 and 15.0-15.2 on ARM due to a compiler bug.
2025-11-14 14:48:08 +01:00
Simon Maertens
0de6ae0fc4
Fixed const specifiers in several LAPACKE function signatures and removed some spurious transpositions of output matrices that are in fact pure input parameters.
2025-10-22 16:50:10 +02:00
Simon Maertens
9630b23c4f
Fixed FORMAT lines that were longerthan 72 characters
2025-10-02 16:42:00 +02:00
Simon Maertens
362029e383
Add missing intrinsics in icamax.f90 and izamax.f90
2025-10-02 16:41:30 +02:00
Simon Maertens
d2d2625019
Disable constant propagation for the NAG Fortran compiler in BLAS tests.
2025-10-02 16:40:58 +02:00
Simon Maertens
349b76a5ee
Remove trailing whitespace
2024-07-12 15:00:39 +01:00
Simon Maertens
22f9be6a47
Added parentheses to multiplications to prevent compilers from using FMAs where the different rounding can lead to a change in control flow.
2024-07-12 14:52:11 +01:00
Simon Maertens
7113caa0ec
Fixed commented out result initialization
2024-06-21 11:05:16 +02:00
Simon Maertens
b8ee7a533e
Fixed wrong NAG Fortran compiler flag / definition for strlen type on Linux
2024-06-20 16:11:08 +01:00
Simon Maertens
ed17a255af
Removed spurious char lenght arguments in LSAME declaration
2024-06-20 16:04:55 +01:00
Simon Maertens
51219d2328
Fixed use of F77_xerbla in CBLAS testing framework
2024-06-19 19:31:04 +01:00
Simon Maertens
4f504e0236
Fixed use of F77_xerbla in CBLAS testing framework
2024-06-19 19:29:01 +01:00
Simon Maertens
f47a8708b9
Added missing FORTRAN_STRLEN arguments in CBLAS testting framework
2024-06-19 18:58:50 +01:00
Simon Maertens
a926c938eb
Fixed wrong F77 C declarations for complex BLAS routines. Some complex arrays were declared as float* or double* instead of void*.
2024-06-19 18:56:09 +01:00
Simon Maertens
50a943dad9
Fixed external 64bit api CBLAS example. CBLAS_API64 needs to be defined before including cblas_64.h
2024-06-19 18:54:32 +01:00
Simon Maertens
6cd9d27cd5
Made the type of hidden Fortran strlen arguments configurable for the NAG Fortran compiler and old GFortran
2024-06-19 15:31:45 +02:00
Simon Maertens
7159cfb377
Fix Intel compiler flags which contain a space
2024-06-11 15:56:46 +01:00
Simon Maertens
d638ddba42
Disable BUILD_INDEX64_EXT_API by default if the CMake version is less than 3.18.0
2024-06-05 14:13:25 +02:00
Simon Maertens
fe5c2529fe
Set minimum CMake version for INDEX64_EXT_API to 3.18 due to the need of the Fortran_PREPROCESS target property
2024-06-05 14:06:32 +02:00
Simon Maertens
0af92d8230
Bump minimum CMake version to 3.13
2024-06-05 13:13:38 +02:00
Simon Maertens
231db955f2
Use add_compile_options(...) and add_link_options(...) instead of appending flags to CACHE variables.
2024-06-05 13:12:09 +02:00
Simon Maertens
4bd18e2663
Refactor test result initialization and reporting
...
Consolidated the initialization of the RESULT array and the reporting of
test outcomes for the xCHKQP3RK tests. The initialization of the RESULT array to
zeros is now occurring immediately before the tests, ensuring a clean
slate without scattering across different test phases. Reporting
functionality has been centralized at the end of the 5 tests,
eliminating redundant blocks and improving maintainability.
2023-12-18 17:17:07 +00:00
Simon Maertens
f6355dc769
Updated array index calculations in cchkqp3rk.f, dchkqp3rk.f,
...
schkqp3rk.f, and zchkqp3rk.f to use the leading dimension (LDA) instead
of the fixed size (M)
2023-12-15 17:54:40 +00:00
Simon Maertens
4a26507b5f
Initialize test results to zero in LIN testing routines to preempt potential garbage data
...
influencing the test evaluations.
2023-12-15 17:36:33 +00:00
Simon Maertens
5b0687f429
Fixed search phrase for determining the amount of successful tests
2023-12-01 14:05:54 +00:00
Simon Maertens
3d2b9cbdcd
Fixed memory leak in testing framework (?chkaa.F)
2023-11-29 15:18:49 +00:00
Simon Maertens
2a0aea9c4c
Added missing comma in FORMAT expression
2023-11-29 14:34:26 +00:00
Simon Maertens
c69a96ea9e
Added missing comma in FORMAT expression
2023-11-29 14:33:00 +00:00
Simon Maertens
8c54a57d66
Replaced non-standard IMAG function with its standard counterpart `AIMAG.
2023-11-29 14:31:16 +00:00
Simon Maertens
26db2da3eb
Fixed Fortran compiler flags check for nagfor compiler and usage in CBLAS target
2023-11-29 14:30:30 +00:00
Simon Maertens
10432bb5e8
Fixed HAS_ATTRIBUTE_WEAK_SUPPORT flag for CBLAS objects
2023-11-29 12:53:09 +00:00
Simon Maertens
d2c2de1d54
Changed void main() to int main() in CMake check because AppleClang doesn't allow it
2023-11-15 15:04:56 +00:00
Simon Maertens
b29d75131e
Fixed Fortran preprocessor flag for NAG Fortran compiler
2023-11-15 14:22:26 +00:00
Simon Maertens
64d95ed569
Added CMake config for NVIDIA HPC compilers (nvfortran)
2023-08-24 15:32:47 +01:00
Simon Maertens
3f1aef1497
Fixed compiler flags for IntelLLVM compiler (ifx)
2023-08-24 15:06:37 +01:00