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

Exception from uninitialised memory in MKL 10.0.3 calls to Pardiso

Graham_S_
Beginner
335 Views
I'm getting a problem with calls to Pardiso in mkl 10.0.3
The problem seems to come from several calls to pardiso function with phase parameter being 11, then 22, then 11 and then 22 again.
On the second call with phase 22, the exception is thrown.
This can be repeated in the 'pardiso_sym_c.c' example file, if you copy and paste to repeat the calls to phase 11 and 22.
Is this a bug in the pardiso code?
This works and no exception is thrown in MKL 9.1
I'm running VS8.


0 Kudos
3 Replies
Todd_R_Intel
Employee
335 Views
I see a known issue in our bug tracking db that is associated with repeated calls to PARDISO. You might be affected by this bug. I'll ask for more info. The bug is targetted for a fix in our next update.

-Todd
0 Kudos
Graham_S_
Beginner
335 Views
Thanks for looking into this for me, from intel support i have a workaround, where the internal memory in the PARDISO is cleared inbetween the calls with phase 22 and 11.
On initial testing this seems to work but i need to do more analysis.

0 Kudos
Graham_S_
Beginner
335 Views
After some more testing it seems that i have to clear the internal memory before every call to phase 11 (possibly except the first call) to get it working reliably.
0 Kudos
Reply