Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7174 Discussions

Program exits obruptly for a specific matrix-vector product in MKL 2023.1.0

Fadime
New User
177 Views

We are having an issue where the matrix-vector product using sparse_dot_mkl cannot be carried out for a very specific matrix. Attached is the script to carry out the product and the matrix that gives the problem.

 

The problem occurs for MKL version: 2023.1.0 on some of our Windows computers with Intel processors (strangely, not on all such computers). The problem disappears for MKL versions starting from 2024.2.2. 

 

Is this a known issue with MKL versiosn below 2024.2.2? Are there some known specific circumstances where the issue occurs (for example when matrix has certain properties)? 

 

In case this is relevant, below are some other specifications of my computer and conda environment where I see the issue:

- scipy version: 1.15.1

- sparse_dot_mkl (https://pypi.org/project/sparse-dot-mkl/) version: 0.9.8

- My processor is the following: Processor 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz, 2401 Mhz, 4 Core(s), 8 Logical Processor(s)

 

Any insights are appreciated!

0 Kudos
2 Replies
Fengrui
Moderator
91 Views

Hi,

 

It looks the reproducer uploading is stuck at virus scan for a while. Could you please trying uploading it again?

 

Thanks,

Fengrui

0 Kudos
Fengrui
Moderator
13 Views

Hi,

 

The download issue finally got resolved. I tried the reproducer on my end (11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz), and it worked well with oneMKL 2024.2.2 but not with the 2024.2.1 or 2023.1.0 release. We did have some changes in the sparse BLAS functions in the 2024.2.2 release. Those might have fixed this issue. 

 

I will try to create a C code with the same data for further investigation.

 

Best,

Fengrui

0 Kudos
Reply