New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when using MKLSparse following use of MKL #36
Comments
I encountered essentially the same bug. Here is a smaller example that might be helpful:
|
I am seeing similar problems with MKLSparse. However, note that the package seems to be abandoned, as it hasn't been updated in over 2 years: |
I highly suspect that the issue is in MKL. |
I find the culprit, MKL.jl is loading an We load an |
@ViralBShah Is it not possible to still load the interface |
I thought we use the ILP64 by default in MKL. MKL now has the |
Do you know in which version of Intel MKL , the |
IIRC, it was in 2023, but there were some issues where a few symbols got left out. So, I think 2024 is perhaps the safest. In fact, we may want to make 2024 a minimum requirement even in MKL.jl. |
We will drop support for Mac but I think it's fine. It never worked well and required sesuential threading. |
When I
use MKLSparse
after a previoususe MKL
, a bug manifests when multiplying a real-valuedSparseMatrixCSC{ComplexF64, Int64}
matrix times aComplexF64
orFloat64
vector. The following output exhibits the bug:The final output should be zero since
b
was computed asQAAQ * fsrc
andQAAQ
has zero imaginary part for each element. Note that the bug does not manifest if I use the two packages in the other order:MKLSparse
first, followed byMKL
.The four files necessary for reproducing this are in this gist. Here is my version info:
and my package status:
The text was updated successfully, but these errors were encountered: