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

Exceptions thrown in MKL

sebastiand
Beginner
586 Views
Hi,

I'm having a problem with exceptions in MKL: I wrote some code that will calculate the eigenspace of a matrix.
With small matrices it works fine and the results are correct, but when I am trying larger matrices (approximatly 4000 by 4000 double entrys) the program terminates with an uncaught exception thrown somewhere in dsytrd.

I would like to catch this exception and give the user some feedback (like "out of memory"), but I don't know what to catch - I am catching std::exception but that doesn't help. The exception that's thrown by MKL always passes to the catch (...) clause and there I cannot tell the user anything detailed about what happened.

Is there some documentation I missed that describes what kind of exceptions are thrown by MKL?


Thanks in advance,
Sebastian

Message Edited by SebastianD on 06-23-2005 03:42 PM

0 Kudos
1 Reply
michael_chuvelev
Beginner
586 Views
Hi, Sebastian,
we don't throw any exceptions from DSYTRD by ourselves, it's probably caused by some memory management problem. Could you try to set the environment variable MKL_DISABLE_FAST_MM to 1 before starting your application?
Also, could you tellwhich version of MKL you're using, whichprocessor andOS, how much memory you have?
Michael.
0 Kudos
Reply