You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, does this also happen with gcc/gfortran? I am not sure if icc/ifort is even supported, probably not that well tested, given that most people just use MKL if they have ifort.
Supported but certainly less well tested. Which version did you build ? Some LAPACK functions in netlib need to be built with -recursive which was not done until very recently (#2536)
Testing now. Reducing the optimization level actually makes the number of failures increase, -recursive and -fpe options have no effect. No change with NO_AVX512=1 or building a single-threaded library either, tiny reduction in number of failures for REAL when building for Sandybridge (without AVX2), small increase when building for Nehalem (w/o even AVX).
No errors in BLAS-Tester.
Reference-LAPACK build with the same compiler (current 19.1 build) turns out to have no issues, copying the extra options (-fp-model strict -assume protect-parens) at least brings the number of tests run closer to the gcc/gfortran data but still more numerical errors.
Even TARGET=GENERIC which is pretty much all plain C without vector intrinsics on the BLAS side shows lots of errors in the LAPACK tests with icc+ifort.
Looks like things got bad at some point after 0.3.7 - but git bisect strangely puts the blame on PR #2327 which is a change in one of the CI configuration files. (Redoing the bisect now)
Actually it is #2353, which happens to be the big update of LAPACK to 3.9.0. As it is "only" broken for the Intel compilers, hopefully it is something simple like the changes I made in make.inc
Activity
Diazonium commentedon Apr 13, 2020
Hmm, does this also happen with gcc/gfortran? I am not sure if icc/ifort is even supported, probably not that well tested, given that most people just use MKL if they have ifort.
martin-frbg commentedon Apr 13, 2020
Supported but certainly less well tested. Which version did you build ? Some LAPACK functions in netlib need to be built with -recursive which was not done until very recently (#2536)
mikecroucher commentedon Apr 13, 2020
gcc/gfortran builds perfectly.
I built OpenBLAS 0.3.9. If there is anything else you need from me for this, let me know.
martin-frbg commentedon Apr 13, 2020
Can you try with the changes from #2536 , or just build the current
developbranch instead of 0.3.9 ?ningli commentedon Apr 25, 2020
Tested. Change in #2536 is irrelevant.
martin-frbg commentedon Apr 25, 2020
Thanks. No other immediate suggestion unfortunately. (And I need to check if my temporary trial license of ifort is still valid)
martin-frbg commentedon May 3, 2020
Testing now. Reducing the optimization level actually makes the number of failures increase, -recursive and -fpe options have no effect. No change with NO_AVX512=1 or building a single-threaded library either, tiny reduction in number of failures for REAL when building for Sandybridge (without AVX2), small increase when building for Nehalem (w/o even AVX).
No errors in BLAS-Tester.
martin-frbg commentedon May 4, 2020
CC=icc FC=gfortran looks almost perfect, suggesting the problem is on the fortran (or fortran-c interface) side.
martin-frbg commentedon May 4, 2020
Reference-LAPACK build with the same compiler (current 19.1 build) turns out to have no issues, copying the extra options (
-fp-model strict -assume protect-parens) at least brings the number of tests run closer to the gcc/gfortran data but still more numerical errors.Even
TARGET=GENERICwhich is pretty much all plain C without vector intrinsics on the BLAS side shows lots of errors in the LAPACK tests with icc+ifort.martin-frbg commentedon May 6, 2020
Looks like things got bad at some point after 0.3.7 - but
git bisectstrangely puts the blame on PR #2327 which is a change in one of the CI configuration files. (Redoing the bisect now)Actually it is #2353, which happens to be the big update of LAPACK to 3.9.0. As it is "only" broken for the Intel compilers, hopefully it is something simple like the changes I made in make.inc