<?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 Re: More cladiv/zladiv problems -- spurious divide-by-zero with in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900968#M11226</link>
    <description>&lt;BR /&gt;
&lt;P&gt;Hi,&lt;BR /&gt;The problem discussed here was fixed into the MKL 10.1 Update 2 released recently and available from intel registration center.&lt;BR /&gt;For existing Intel MKL license holders, you can get upgrade directly from &lt;A href="https://registrationcenter.intel.com/"&gt;Intel Registration Center&lt;/A&gt;. For new users, get free 30-day trial version to evaluate.&lt;BR /&gt;--Gennady&lt;/P&gt;</description>
    <pubDate>Sun, 03 May 2009 07:52:36 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2009-05-03T07:52:36Z</dc:date>
    <item>
      <title>More cladiv/zladiv problems -- spurious divide-by-zero with ifort -fpe0?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900962#M11220</link>
      <description>Hi all --&lt;BR /&gt;&lt;BR /&gt;I have a user of the Fortran compiler and MKL libraries who is continuing to have problems with the cladiv/zladiv routines. We've sorted out the declaration issue, but now he is seeing division by zero errors, reproduced in the following code:&lt;BR /&gt;
&lt;PRE&gt;[plain]      program main
      complex a,b,c
      complex cladiv
c
      a = (1.0, 1.0)
      b = (0.5, 0.0)
      print *,a,b
c
      c = cladiv(a,b)
c
      print *,c
      stop
      end
[/plain]&lt;/PRE&gt;
&lt;BR /&gt;As you can see, it's pretty basic. If I name this "test_cladiv.f" and build it with:&lt;BR /&gt;&amp;gt; ifort -fpe0 test_cladiv.f -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_lapack -lmkl_core -liomp5 -lpthread -o test_cladiv.b&lt;BR /&gt;&lt;BR /&gt; ... then I get "forrtl: error (73): floating divide by zero", and a (brief) traceback.&lt;BR /&gt;&lt;BR /&gt;If I build it without the -fpe0 option, even with -fpe1, it seems to work fine.&lt;BR /&gt;&lt;BR /&gt;The user reports that he wants to use the fpe0 option, because there are other places in the code where divide-by-zero errors are dangerous.&lt;BR /&gt;&lt;BR /&gt;Is there a way to have this routine not generate these apparently-spurious divide-by-zero errors? The algorithm is reasonably well known, and seems not to require this. Is this a bug in the MKL library?&lt;BR /&gt;&lt;BR /&gt;This is all happening with both versions 11.0/074 and 11.0/081 of the Professional C++/Fortran compilers, which include the MKL library, version 10.1 update 1. It's running on an ia64 platform running SuSE SLES 10.0. Thanks in advance for any clues.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 20:05:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900962#M11220</guid>
      <dc:creator>andrew_reidnist_gov</dc:creator>
      <dc:date>2009-02-18T20:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: More cladiv/zladiv problems -- spurious divide-by-zero with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900963#M11221</link>
      <description>&lt;DIV style="margin:0px;"&gt;Is it Intel 64 architecture (aka Xeon) or IA-64 architecture (aka Itanium)?&lt;BR /&gt;--gif&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 09:23:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900963#M11221</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-02-19T09:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: More cladiv/zladiv problems -- spurious divide-by-zero with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900964#M11222</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
It's the Itanium architecture. The machine is an SGI Altix 3700 Bx2, running SuSE Linux Enterprise System 10.0&lt;BR /&gt; -- A.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 14:27:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900964#M11222</guid>
      <dc:creator>andrew_reidnist_gov</dc:creator>
      <dc:date>2009-02-19T14:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: More cladiv/zladiv problems -- spurious divide-by-zero with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900965#M11223</link>
      <description>&lt;DIV style="margin:0px;"&gt;Ok, may I ask you to check the problem with the following linking line?:&lt;BR /&gt;ifort -w -fpe0 test.f /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_intel_lp64.a -Wl,--start-group /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_intel_thread.a /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_core.a -Wl,--end-group -L/opt/intel/Compiler/11.0/081/mkl/lib/64 -lguide -lpthread -o test.out&lt;BR /&gt;--gif&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 16:46:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900965#M11223</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-02-19T16:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: More cladiv/zladiv problems -- spurious divide-by-zero with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900966#M11224</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Ok, may I ask you to check the problem with the following linking line?:&lt;BR /&gt;ifort -w -fpe0 test.f /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_intel_lp64.a -Wl,--start-group /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_intel_thread.a /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_core.a -Wl,--end-group -L/opt/intel/Compiler/11.0/081/mkl/lib/64 -lguide -lpthread -o test.out&lt;BR /&gt;--gif&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks for the suggestion -- I'm afraid this build scheme gets the same error.&lt;BR /&gt;&lt;BR /&gt;-- A.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:02:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900966#M11224</guid>
      <dc:creator>andrew_reidnist_gov</dc:creator>
      <dc:date>2009-02-19T17:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: More cladiv/zladiv problems -- spurious divide-by-zero with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900967#M11225</link>
      <description>&lt;DIV style="margin:0px;"&gt;Yes, I entered the same problem on IA64 system also&lt;BR /&gt;ifort -w -fpe0 test.f /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_intel_lp64.a -Wl,--start-group /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_intel_thread.a /opt/intel/Compiler/11.0/081/mkl/lib/64/libmkl_core.a -Wl,--end-group -L/opt/intel/Compiler/11.0/081/mkl/lib/64 -lguide -lpthread -o test.out&lt;BR /&gt;[root@nntsed01-4i2 Forum]# ./test.out&lt;BR /&gt;(1.000000,1.000000) (0.5000000,0.0000000E+00)&lt;BR /&gt;forrtl: error (73): floating divide by zero&lt;BR /&gt;Image PC Routine Line Source &lt;BR /&gt;test.out 4000000000003751 Unknown Unknown Unknown&lt;BR /&gt;test.out 40000000000036B0 Unknown Unknown Unknown&lt;BR /&gt;test.out 4000000000003210 Unknown Unknown Unknown&lt;BR /&gt;test.out 4000000000003020 Unknown Unknown Unknown&lt;BR /&gt;test.out 4000000000002E90 Unknown Unknown Unknown&lt;BR /&gt;libc.so.6.1 20000000005214B0 Unknown Unknown Unknown&lt;BR /&gt;test.out 4000000000002CC0 Unknown Unknown Unknown&lt;BR /&gt;Aborted&lt;BR /&gt;&lt;BR /&gt;The problem is persists on RH 3,4 and 5 as well and with compilers versions 11, 10,1 and 9.0&lt;BR /&gt;We will investigate the cause of the problem.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2009 08:25:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900967#M11225</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-02-20T08:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: More cladiv/zladiv problems -- spurious divide-by-zero with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900968#M11226</link>
      <description>&lt;BR /&gt;
&lt;P&gt;Hi,&lt;BR /&gt;The problem discussed here was fixed into the MKL 10.1 Update 2 released recently and available from intel registration center.&lt;BR /&gt;For existing Intel MKL license holders, you can get upgrade directly from &lt;A href="https://registrationcenter.intel.com/"&gt;Intel Registration Center&lt;/A&gt;. For new users, get free 30-day trial version to evaluate.&lt;BR /&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2009 07:52:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/More-cladiv-zladiv-problems-spurious-divide-by-zero-with-ifort/m-p/900968#M11226</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-05-03T07:52:36Z</dc:date>
    </item>
  </channel>
</rss>

