Martin Kroeker
9a7d1fe249
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
4 years ago
Martin Kroeker
423895161a
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
4 years ago
Aisha Tammy
3efbf968f1
create INDEX64 target
5 years ago
Martin Kroeker
a3eea3e127
Fix input argument check (LAPACK PR 646)
4 years ago
Martin Kroeker
337b65133d
Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
4 years ago
Martin Kroeker
ddb0ff5353
Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
4 years ago
Martin Kroeker
fe497efa05
Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
4 years ago
Martin Kroeker
2be5ee3cca
Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
4 years ago
Martin Kroeker
5c729c6dce
Correct function name in error message from SLASQ2 (Reference-LAPACK PR 555)
5 years ago
Martin Kroeker
d00709e016
Add files via upload
5 years ago
Martin Kroeker
4c1d47098b
Add new files for Householder reconstruction functions from 3.9.1
5 years ago
Martin Kroeker
114bbbc6d7
Merge pull request #3212 from martin-frbg/lapack463
Initialize X and Y to zero for N=0 in xGGGLM (Reference-LAPACK PR463)
5 years ago
Martin Kroeker
b67a92c19f
Merge pull request #3211 from martin-frbg/lapack471
Handle norm NaN value in xGESDD (Reference LAPACK PR471)
5 years ago
Martin Kroeker
c26780d451
Initialize X and Y to zero for N=0 (Reference-LAPACK PR463)
5 years ago
Martin Kroeker
d77d9bc920
Handle norm NaN value (Reference LAPACK PR471)
5 years ago
Martin Kroeker
37d3e2bd94
Merge pull request #3210 from martin-frbg/lapack502
Fix possible division by zero in LAPACK xTGSJA (Reference-LAPACK PR502)
5 years ago
Martin Kroeker
de8656769c
Fix possible division by zero in xTGSJA (Reference-LAPACK PR502)
5 years ago
Martin Kroeker
87d2e314db
Import packing improvements in LAPACK xLAQR from Reference-LAPACK PR 480+535
5 years ago
Martin Kroeker
c9a82f54d1
Merge pull request #3204 from martin-frbg/lapack506
Correct INFO value returned by SLASQ2/DLASQ2 (Reference-LAPACK 506)
5 years ago
Martin Kroeker
444cb78be5
correct INFO value (Reference-LAPACK 506)
5 years ago
Martin Kroeker
2b01132515
Clean up misdeclaration of the dummy stand-in for A in ?ORGBR/?UNGBR workspace queries (Reference-LAPACK PR 468 and 530)
5 years ago
Martin Kroeker
0dba04bb58
Merge pull request #3178 from martin-frbg/fix2864
Fix unwanted fallback to implicit typing in slanv2/dlanv2
5 years ago
Martin Kroeker
e96f5e3c65
Fix implicit typing of new variable TWO
5 years ago
Martin Kroeker
558724e99f
Fix implicit typing of new variable TWO
5 years ago
Martin Kroeker
081d5ae971
Fix typo and potentially undefined variables
(copies fixes made in Reference-LAPACK PR 477 after the initial cherrypick)
5 years ago
Martin Kroeker
c4b5abbe43
fix data type
5 years ago
Martin Kroeker
f87842483e
fix calculation of non-exceptional shift (from Reference-LAPACK PR 477)
5 years ago
Martin Kroeker
856bc36533
Add exceptional shift to fix rare convergence problems
5 years ago
Martin Kroeker
ef552bc578
Add Makefile support for enabling only some variable types
5 years ago
Martin Kroeker
7ed25e9e10
FIx underflow/rounding errors in LAPACK (S,D)LANV2
Reference-LAPACK PR 445, fixing their issue 263
5 years ago
Martin Kroeker
7e4d5c237c
Fix workspace query in xGELQ (Reference-LAPACK PR443)
5 years ago
Martin Kroeker
522aaf53bf
Break out of potentially infinite rescaling loop in LAPACK xLARGV/xLARTG/xLARTGP
Reference-LAPACK issue 411
6 years ago
Ilhan Polat
76d2612e0c
BUG: Fix the loop range in ZHEEQUB.f
6 years ago
Martin Kroeker
b25ae1fc60
Apply fix for Reference-LAPACK issue 394
reference to XERBLA extending beyond column 72, breaking builds with compilers that default to traditional punch card format
6 years ago
Martin Kroeker
87ac1ceb0b
Apply fix from Reference-LAPACK PR390, NaN not propagating
6 years ago
Martin Kroeker
9e40c080f2
Apply fix from Reference-LAPACK PR390, NaN not propagating
6 years ago
Martin Kroeker
375b1875c8
[WIP] Update LAPACK to 3.9.0 ( #2353 )
* Update make.inc entries for LAPACK 3.9.0
Reference-LAPACK PR 347 changed some variable names and relative paths
* Update LAPACK to 3.9.0
* Add new functions from LAPACK 3.9.0
* Add new functions from LAPACK 3.9.0
* Restore LOADER command
as it makes it easier to specify pthread as needed
* Restore LOADER
* Restore EIG/LIN prefixes in cmdbase
* add binary path to lapack_testing.py call
* Restore OpenMP version check
* Restore OpenMP version check
* Restore fix for out-of-bounds array accesses
from #2096
6 years ago
Guillaume Horel
4b21b646ea
turn on optimized code
6 years ago
Martin Kroeker
a6a52a73f7
Fix argument in SLASET call to zero S
fixes #1859 in accordance with https://github.com/LAPACK-Reference/issue/296
7 years ago
Tiziano Müller
79ea839b63
fix parallel build issues with APFS/HFS+/ext2/3 in netlib-lapack
The problem is that OpenBLAS sets the LAPACKE_LIB and the TMGLIB to the
same object and uses the `ar` feature to update the archive file. If the
underlying filesystem does not have sub-second timestamp resolution and
the system is fast enough (or `ccache` is used), the timestamp of the
builds which should be added to the previously generated archive is the
same as the archive file itself and therefore `make` does not update the
archive.
Since OpenBLAS takes care to not run the different targets updating the
archive in parallel, the easiest solution is to declare the respective
targets `.PHONY`, forcing `make` to always update them.
fixes #1682
7 years ago
Martin Kroeker
9e917b16db
Fix missing replacements of ILAENV by ILAENV_2STAGE (lapack PR 272)
This could cause spurious "parameter has an illegal value" errors in DSYEVR and related routines, see https://github.com/Reference-LAPACK/lapack/issues/262
7 years ago
Martin Kroeker
677e42d7b0
Fixes from netlib PR 253
When minimal workspace is given in ?hesv_aa, ?sysv_aa, ?hesv_aa_2stage, ?sysv_aa_2stage, now no error is given
Quick return for ?laqr1
8 years ago
Martin Kroeker
9795adc7ef
Drop C-style "L" suffix from OPENMP version number in check
8 years ago
Martin Kroeker
1a8e487c4a
Drop C-style "L" suffix from OPENMP version number in check
8 years ago
Martin Kroeker
5966fd52a2
Drop C-style "L" suffix from OPENMP version number in check
8 years ago
Martin Kroeker
eaab622f03
Make "OMP task depend" sections conditional on OpenMP4, not just OpenMP
To allow compiling with gcc versions older than 4.9
8 years ago
Martin Kroeker
3cda1ce50a
Revert insiduous suppression of the -fopenmp flag in the LAPACK subtree
This was added in #1046 citing a problem with mingw, but in effect it quietly reduces thread safety on all non-Windows platforms (while -fopenmp is already disabled for Windows builds through the toplevel Makefile.system). Removing the filter fixes #1425
8 years ago
Martin Kroeker
150c7294a6
Remove spurious EXTERNAL reference
From Reference-LAPACK issue 228, remove spurious EXTERNAL reference to unused and nonexistent function xLACGV that could cause linking problems.
8 years ago
martin
3be5c3d343
Update LAPACK to 3.8.0
8 years ago
Martin Kroeker
2df1e3372d
Break out of potentially infinite rescaling loop after 1000 iterations
Inf values in the input vector will survive rescaling, causing an infinite loop. The value of 1000 is arbitrarily chosen as a large but finite value with the intention to never interfere with regular calculations.
8 years ago