- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page