<?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 Floating divide by zero error in dgeev and possibly also others in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688322#M37135</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using OneAPI 2025.0 and 2015.1 to compile the following Fortran code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solv.f:&lt;/P&gt;&lt;P&gt;program main&lt;BR /&gt;implicit none&lt;BR /&gt;integer(kind=4) :: info,lwork,i&lt;BR /&gt;real(kind=8), dimension(12) :: work&lt;BR /&gt;real(kind=8), dimension(3) :: er,ei&lt;BR /&gt;real(kind=8), dimension(3,3) :: mat,vl,vvr&lt;/P&gt;&lt;P&gt;lwork=12&lt;BR /&gt;mat=0.d0&lt;BR /&gt;do i=1,3&lt;BR /&gt;mat(i,i)=1.d0&lt;BR /&gt;enddo&lt;BR /&gt;call dgeev('N','V',3,mat,3,er,ei,vl,3,vvr,3,work,12,info)&lt;BR /&gt;end program main&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Makefile is:&lt;/P&gt;&lt;P&gt;solv:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ifx -O0 -g -fpe0 -gdwarf-2 -c solv.f&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ifx -O0 -g -fpe0 -gdwarf-2 -o solv solv.o -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread&lt;BR /&gt;clean:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rm -f solv solv.o&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running the program produces 'floating divide by zero' error. The program runs well if compiled by OneAPI 2024.2, or gfortran, or other Intel compiler versions dated 2020,2018, etc. Also, the error does not show up if the code is compiled by other options like "-O2".&lt;/P&gt;&lt;P&gt;Similar error is also found for zhegvx. But I do not have a testing program to reproduce it. The dependencies on the versions of the Intel compilers &amp;amp; MKL libraries, as well as the compiler options, are all the same as zgeev.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be grateful if you can look into it. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dr. Lin-Hui Ye&lt;/P&gt;&lt;P&gt;Peking University.&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 02:57:39 GMT</pubDate>
    <dc:creator>yelh2015</dc:creator>
    <dc:date>2025-05-08T02:57:39Z</dc:date>
    <item>
      <title>Floating divide by zero error in dgeev and possibly also others</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688322#M37135</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using OneAPI 2025.0 and 2015.1 to compile the following Fortran code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solv.f:&lt;/P&gt;&lt;P&gt;program main&lt;BR /&gt;implicit none&lt;BR /&gt;integer(kind=4) :: info,lwork,i&lt;BR /&gt;real(kind=8), dimension(12) :: work&lt;BR /&gt;real(kind=8), dimension(3) :: er,ei&lt;BR /&gt;real(kind=8), dimension(3,3) :: mat,vl,vvr&lt;/P&gt;&lt;P&gt;lwork=12&lt;BR /&gt;mat=0.d0&lt;BR /&gt;do i=1,3&lt;BR /&gt;mat(i,i)=1.d0&lt;BR /&gt;enddo&lt;BR /&gt;call dgeev('N','V',3,mat,3,er,ei,vl,3,vvr,3,work,12,info)&lt;BR /&gt;end program main&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Makefile is:&lt;/P&gt;&lt;P&gt;solv:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ifx -O0 -g -fpe0 -gdwarf-2 -c solv.f&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ifx -O0 -g -fpe0 -gdwarf-2 -o solv solv.o -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread&lt;BR /&gt;clean:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rm -f solv solv.o&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running the program produces 'floating divide by zero' error. The program runs well if compiled by OneAPI 2024.2, or gfortran, or other Intel compiler versions dated 2020,2018, etc. Also, the error does not show up if the code is compiled by other options like "-O2".&lt;/P&gt;&lt;P&gt;Similar error is also found for zhegvx. But I do not have a testing program to reproduce it. The dependencies on the versions of the Intel compilers &amp;amp; MKL libraries, as well as the compiler options, are all the same as zgeev.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be grateful if you can look into it. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dr. Lin-Hui Ye&lt;/P&gt;&lt;P&gt;Peking University.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 02:57:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688322#M37135</guid>
      <dc:creator>yelh2015</dc:creator>
      <dc:date>2025-05-08T02:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Floating divide by zero error in dgeev and possibly also others</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688404#M37136</link>
      <description>&lt;P&gt;By the way, the 'floating divide by zero' error of dgeev and zhegvx happened under xubuntu 22.04 operating system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dr. Lin-Hui Ye&lt;/P&gt;&lt;P&gt;Peking University&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 06:46:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688404#M37136</guid>
      <dc:creator>yelh2015</dc:creator>
      <dc:date>2025-05-08T06:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Floating divide by zero error in dgeev and possibly also others</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688508#M37137</link>
      <description>&lt;P&gt;Please ask this in&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/bd-p/oneapi-math-kernel-library" target="_blank"&gt;Intel® oneAPI Math Kernel Library - Intel Community&lt;/A&gt;&amp;nbsp;as it is not a Fortran compiler issue.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 15:14:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Floating-divide-by-zero-error-in-dgeev-and-possibly-also-others/m-p/1688508#M37137</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2025-05-08T15:14:28Z</dc:date>
    </item>
  </channel>
</rss>

