<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Exceptions thrown in MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exceptions-thrown-in-MKL/m-p/987888#M17863</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I'm having a problem with exceptions in MKL: I wrote some code that will calculate the eigenspace of a matrix. &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Is there some documentation I missed that describes what kind of exceptions are thrown by MKL?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt; Sebastian&lt;P&gt;Message Edited by SebastianD on &lt;SPAN class="date_text"&gt;06-23-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:42 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2005 05:41:12 GMT</pubDate>
    <dc:creator>sebastiand</dc:creator>
    <dc:date>2005-06-24T05:41:12Z</dc:date>
    <item>
      <title>Exceptions thrown in MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exceptions-thrown-in-MKL/m-p/987888#M17863</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I'm having a problem with exceptions in MKL: I wrote some code that will calculate the eigenspace of a matrix. &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Is there some documentation I missed that describes what kind of exceptions are thrown by MKL?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt; Sebastian&lt;P&gt;Message Edited by SebastianD on &lt;SPAN class="date_text"&gt;06-23-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:42 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2005 05:41:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exceptions-thrown-in-MKL/m-p/987888#M17863</guid>
      <dc:creator>sebastiand</dc:creator>
      <dc:date>2005-06-24T05:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions thrown in MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exceptions-thrown-in-MKL/m-p/987889#M17864</link>
      <description>&lt;DIV&gt;Hi, Sebastian,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;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?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Also, could you tellwhich version of MKL you're using, whichprocessor andOS, how much memory you have?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Michael.&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jun 2005 15:44:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exceptions-thrown-in-MKL/m-p/987889#M17864</guid>
      <dc:creator>michael_chuvelev</dc:creator>
      <dc:date>2005-06-24T15:44:21Z</dc:date>
    </item>
  </channel>
</rss>

