<?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 Hi, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/tracking-NaN-problem/m-p/967570#M16328</link>
    <description>Hi,

MKL doesn't perform any exceptions handling, it inherits setting from callee program. Your module compiled with -fpe0 mostlikely(if doesn't explicitly overrides it) also inherits setting of the application which already set exceptions handling policy.

I would suggets you to try:
&lt;UL&gt;
&lt;LI&gt;Disable exception handling in your whole program, this will allow analisys of results&lt;/LI&gt;
&lt;LI&gt;Try the functionality from &lt;A href="http://wwww.netlib.org/lapack"&gt;NETLIB LAPACK&lt;/A&gt; where it is provided in source form (Fortran). It should behave same way as MKL does and you will be able to dig into exact operations where exception happens. zheevr + dependencies could be downloaded &lt;A href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&amp;amp;filename=/lapack/lapack_routine/zheevr.f"&gt;here&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;

W.B.R.,
Alexander</description>
    <pubDate>Mon, 10 Dec 2012 10:38:00 GMT</pubDate>
    <dc:creator>Alexander_K_Intel3</dc:creator>
    <dc:date>2012-12-10T10:38:00Z</dc:date>
    <item>
      <title>tracking NaN problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/tracking-NaN-problem/m-p/967569#M16327</link>
      <description>&lt;P&gt;Following suggesion of user &lt;A href="http://software.intel.com/en-us/user/509608"&gt;Annalee (Intel)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;in her reply: "The NAN may occur within the zheevr calculations but not cause the final result to NAN. Alternatively, flush to zero may result in a NAN that does not otherwise occur. If your question is specific to MKL, I would suggest posting on the &lt;A href="http://software.intel.com/en-us/forums/intel-math-kernel-library/"&gt;MKL forum&lt;/A&gt; as well."&lt;/P&gt;
&lt;P&gt;I would like ask about details of the feature above. Is it possible to skip catching NaN in zheevr exceptions with -fpe0 using fotran compiler and track NaNs only in the remaining code? So far I am not able to track a real source of NaN in my program due to artificial NaNs detected inside a zheevr and happening before true source of NaN is located. (input and output contains no NaN, also stat variable is set to 0 after evaluation of zheevr. Ouput was checked, when I&amp;nbsp; recompiled my program without -fpe0 flag).&lt;/P&gt;
&lt;P&gt;I have recompiled file containing the call to zheevr withouf -fpe0 flag and linked it this way to my program, but this did not really help: It seem that NaN trapping is unable to locate a particular line which throws NaN, but it is able to locate the envelopping routine that contains zheevr. I have reducer the "resolution" of tracking, but the triggering factor is still zheevr.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2012 17:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/tracking-NaN-problem/m-p/967569#M16327</guid>
      <dc:creator>lacek</dc:creator>
      <dc:date>2012-12-07T17:44:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/tracking-NaN-problem/m-p/967570#M16328</link>
      <description>Hi,

MKL doesn't perform any exceptions handling, it inherits setting from callee program. Your module compiled with -fpe0 mostlikely(if doesn't explicitly overrides it) also inherits setting of the application which already set exceptions handling policy.

I would suggets you to try:
&lt;UL&gt;
&lt;LI&gt;Disable exception handling in your whole program, this will allow analisys of results&lt;/LI&gt;
&lt;LI&gt;Try the functionality from &lt;A href="http://wwww.netlib.org/lapack"&gt;NETLIB LAPACK&lt;/A&gt; where it is provided in source form (Fortran). It should behave same way as MKL does and you will be able to dig into exact operations where exception happens. zheevr + dependencies could be downloaded &lt;A href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&amp;amp;filename=/lapack/lapack_routine/zheevr.f"&gt;here&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;

W.B.R.,
Alexander</description>
      <pubDate>Mon, 10 Dec 2012 10:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/tracking-NaN-problem/m-p/967570#M16328</guid>
      <dc:creator>Alexander_K_Intel3</dc:creator>
      <dc:date>2012-12-10T10:38:00Z</dc:date>
    </item>
  </channel>
</rss>

