Closed hpcnpatel closed 2 years ago
This appears to be an internal error in the Intel compiler - if this is reproducible (i.e. not a fluke due to bad RAM etc) and you do not want to use a different compiler the easiest workaround is probably to disable the SMALL_MATRIX_OPT on line 263 of Makefile.system. (It should probably be possible to override it on the commandline, but nobody expected this to be an issue).
@guowangy should this be reported to the ICC team, or can you forward it internally ? (Neither me nor gcc see anything wrong with your code from #3335)
You might want to bisect issue more accurately, and submit workaround to spack package
@brada4 exactly what would you want to bisect here ?
i want OP to report/fix this in spack too.
This appears to be an internal error in the Intel compiler - if this is reproducible (i.e. not a fluke due to bad RAM etc) and you do not want to use a different compiler the easiest workaround is probably to disable the SMALL_MATRIX_OPT on line 263 of Makefile.system. (It should probably be possible to override it on the commandline, but nobody expected this to be an issue).
Yes, this is reproducible. We build OpenBLAS with Intel and GCC both, as we cater to the needs of users on Supercomputers and clusters.
Thanks for the workaround, I will try locally.
This was actually fixed already by #3550 shortly after 0.3.20 was released (though I think this was primarily done for LLVM). The culprit responsible for the internal compiler error appears to have been the spurious asm("k1")
in the declaration of the mask
variable on line 269
I wanted to report a build error.
I am using Spack to build openblas (versions 0.3.20 to 0.3.17) and get build failures shown below,
The error pop up using Intel compilers (from 2018 version to 2022 version) on Skylake_avx512.
Note: I am installing the openblas on the Haswell machine too and do not get the error I posted for Skylake.
I am not sure if this error is originating as a result of using Intel compiler to build openblas on Skylake architecture or Spack related. Any help or tip is appreciated.