<?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 LAPACK95 diagonalization problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK95-diagonalization-problem/m-p/959858#M15819</link>
    <description>I have installed MKL 8.0 (evaluation version) on my Linux box running Mandrake 10.0 with ifort and icc versions 8.0&lt;BR /&gt;&lt;BR /&gt;I compiled LAPACK95 interface by simply using &lt;BR /&gt;&lt;BR /&gt;make PLAT=lnx32 lib&lt;BR /&gt;&lt;BR /&gt;ifort complined about file source/cgelsd1.f90 line 30&lt;BR /&gt;USE MKL77_LAPACK, ONLY: ILAENV =&amp;gt; MKL77_ILAENV&lt;BR /&gt;&lt;BR /&gt;A simple change to &lt;BR /&gt;USE MKL77_LAPACK, ONLY: MKL77_ILAENV&lt;BR /&gt;plus change of line #76&lt;BR /&gt;SMLSIZ = ILAENV(9,'CGELSD',' ', 0,0,0,0)&lt;BR /&gt;to&lt;BR /&gt;SMLSIZ = MKL77_ILAENV(9,'CGELSD',' ', 0,0,0,0)&lt;BR /&gt;&lt;BR /&gt;fixed the probelm, i.e., compilation went smoothy.&lt;BR /&gt;&lt;BR /&gt;However, if I compile examples &lt;BR /&gt;&lt;BR /&gt;make lib32&lt;BR /&gt;&lt;BR /&gt;although the compilation goes witout any problems, the results are  wrong.&lt;BR /&gt;&lt;BR /&gt;For example, if you look into syev.res the output looks like:&lt;BR /&gt;&lt;BR /&gt; SYEV Example Program Results&lt;BR /&gt; Matrix A:&lt;BR /&gt; -5.00000 -3.00000  1.00000  5.00000  3.00000&lt;BR /&gt;  0.00000  2.00000 -1.00000  4.00000 -1.00000&lt;BR /&gt;  0.00000  0.00000  6.00000  3.00000 -1.00000&lt;BR /&gt;  0.00000  0.00000  0.00000  1.00000 -1.00000&lt;BR /&gt;  0.00000  0.00000  0.00000  0.00000 -7.00000&lt;BR /&gt; CALL SYEV( A, W )&lt;BR /&gt; W on exit :&lt;BR /&gt; -11.24619&lt;BR /&gt;  -6.24975&lt;BR /&gt;   1.18524&lt;BR /&gt;   5.00130&lt;BR /&gt;   8.30939&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maple gives: 1, 2, -5, 6, -7&lt;BR /&gt;&lt;BR /&gt;Simple inspection showes that -5 has to be an eigenvalue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Fri, 02 Dec 2005 04:10:46 GMT</pubDate>
    <dc:creator>sknepnek</dc:creator>
    <dc:date>2005-12-02T04:10:46Z</dc:date>
    <item>
      <title>LAPACK95 diagonalization problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK95-diagonalization-problem/m-p/959858#M15819</link>
      <description>I have installed MKL 8.0 (evaluation version) on my Linux box running Mandrake 10.0 with ifort and icc versions 8.0&lt;BR /&gt;&lt;BR /&gt;I compiled LAPACK95 interface by simply using &lt;BR /&gt;&lt;BR /&gt;make PLAT=lnx32 lib&lt;BR /&gt;&lt;BR /&gt;ifort complined about file source/cgelsd1.f90 line 30&lt;BR /&gt;USE MKL77_LAPACK, ONLY: ILAENV =&amp;gt; MKL77_ILAENV&lt;BR /&gt;&lt;BR /&gt;A simple change to &lt;BR /&gt;USE MKL77_LAPACK, ONLY: MKL77_ILAENV&lt;BR /&gt;plus change of line #76&lt;BR /&gt;SMLSIZ = ILAENV(9,'CGELSD',' ', 0,0,0,0)&lt;BR /&gt;to&lt;BR /&gt;SMLSIZ = MKL77_ILAENV(9,'CGELSD',' ', 0,0,0,0)&lt;BR /&gt;&lt;BR /&gt;fixed the probelm, i.e., compilation went smoothy.&lt;BR /&gt;&lt;BR /&gt;However, if I compile examples &lt;BR /&gt;&lt;BR /&gt;make lib32&lt;BR /&gt;&lt;BR /&gt;although the compilation goes witout any problems, the results are  wrong.&lt;BR /&gt;&lt;BR /&gt;For example, if you look into syev.res the output looks like:&lt;BR /&gt;&lt;BR /&gt; SYEV Example Program Results&lt;BR /&gt; Matrix A:&lt;BR /&gt; -5.00000 -3.00000  1.00000  5.00000  3.00000&lt;BR /&gt;  0.00000  2.00000 -1.00000  4.00000 -1.00000&lt;BR /&gt;  0.00000  0.00000  6.00000  3.00000 -1.00000&lt;BR /&gt;  0.00000  0.00000  0.00000  1.00000 -1.00000&lt;BR /&gt;  0.00000  0.00000  0.00000  0.00000 -7.00000&lt;BR /&gt; CALL SYEV( A, W )&lt;BR /&gt; W on exit :&lt;BR /&gt; -11.24619&lt;BR /&gt;  -6.24975&lt;BR /&gt;   1.18524&lt;BR /&gt;   5.00130&lt;BR /&gt;   8.30939&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maple gives: 1, 2, -5, 6, -7&lt;BR /&gt;&lt;BR /&gt;Simple inspection showes that -5 has to be an eigenvalue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 02 Dec 2005 04:10:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK95-diagonalization-problem/m-p/959858#M15819</guid>
      <dc:creator>sknepnek</dc:creator>
      <dc:date>2005-12-02T04:10:46Z</dc:date>
    </item>
  </channel>
</rss>

