<?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: dsyevd does not return correct value on query in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880635#M9510</link>
    <description>&lt;BR /&gt;For compiling with ilp64 interfaces&lt;BR /&gt;ifort -i8 -I&lt;MKL drectory=""&gt;/include&lt;BR /&gt;&lt;BR /&gt;How you can find out the version info:&lt;BR /&gt;For the standalone package:&lt;BR /&gt;please see into the &lt;MKLROOT&gt;docmklsupport.txt file )&lt;BR /&gt;you can find there smth like Package ID: l_mkl_p_10.2.1.017&lt;BR /&gt;&lt;BR /&gt;for the bundled version of mkl ( Intel Compiler Professional Edition ):&lt;BR /&gt;see into csupport.txt or fsuppor.txt files ( Documentation folder )&lt;BR /&gt;&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/MKLROOT&gt;&lt;/MKL&gt;</description>
    <pubDate>Thu, 03 Sep 2009 07:24:36 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2009-09-03T07:24:36Z</dc:date>
    <item>
      <title>dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880633#M9508</link>
      <description>&lt;BR /&gt;I have a small piece of code that works fine with old MKL library, but the fails with the new one&lt;BR /&gt;-----------------------------------------------------------------------&lt;BR /&gt; int lwork = -1;&lt;BR /&gt; int liwork = -1;&lt;BR /&gt; double* work = (double*)malloc( sizeof(double));&lt;BR /&gt; int* iwork = (int*)malloc(sizeof(int));&lt;BR /&gt; dsyevd(&amp;amp;jobs, &amp;amp;uplo, &amp;amp;dim, Matrix, &amp;amp;dim, d, work, &amp;amp;lwork, iwork, &amp;amp;liwork, &amp;amp;info);&lt;BR /&gt; lwork = (int)(work[0]);&lt;BR /&gt; liwork = *iwork;&lt;BR /&gt; printf("required lwork=%d, liwork=%d\n",  lwork, liwork);&lt;BR /&gt;-------------------------------------------------------------------------&lt;BR /&gt;For the case of dim =4, the correct result returned from the old MKL:&lt;BR /&gt;"required lwork=57, liwork=23"&lt;BR /&gt;But with the new MKL&lt;BR /&gt;"required lwork=-2147483648, liwork=23"&lt;BR /&gt;&lt;BR /&gt;If I manually set the lwork/liwork value to the correct values and call dsyevd() to solve the problem, it gives error message:&lt;BR /&gt;"MKL ERROR: Parameter 8 was incorrect on entry to DSYEVD"&lt;BR /&gt;&lt;BR /&gt;I could not tell exactly which version the new MKL library is, here is the linked libraries for the new one:&lt;BR /&gt;-Wl,--start-group -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -Wl,--end-group  -lpthread&lt;BR /&gt;&lt;BR /&gt;Any suggestions are welcome.&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Sep 2009 16:34:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880633#M9508</guid>
      <dc:creator>exihea</dc:creator>
      <dc:date>2009-09-02T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880634#M9509</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
You have specified the 64-bit integer ilp64 interface, but you pass 32-bit int scalar references and arrays. I guess your example worked when you specified 32-bit integers (lp64 for the 64-bit libraries, no choice for 32-bit libraries).&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Sep 2009 16:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880634#M9509</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-09-02T16:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880635#M9510</link>
      <description>&lt;BR /&gt;For compiling with ilp64 interfaces&lt;BR /&gt;ifort -i8 -I&lt;MKL drectory=""&gt;/include&lt;BR /&gt;&lt;BR /&gt;How you can find out the version info:&lt;BR /&gt;For the standalone package:&lt;BR /&gt;please see into the &lt;MKLROOT&gt;docmklsupport.txt file )&lt;BR /&gt;you can find there smth like Package ID: l_mkl_p_10.2.1.017&lt;BR /&gt;&lt;BR /&gt;for the bundled version of mkl ( Intel Compiler Professional Edition ):&lt;BR /&gt;see into csupport.txt or fsuppor.txt files ( Documentation folder )&lt;BR /&gt;&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/MKLROOT&gt;&lt;/MKL&gt;</description>
      <pubDate>Thu, 03 Sep 2009 07:24:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880635#M9510</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-09-03T07:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880636#M9511</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;BR /&gt;For compiling with ilp64 interfaces&lt;BR /&gt;ifort -i8 -I&lt;MKL drectory=""&gt;/include&lt;BR /&gt;&lt;BR /&gt;How you can find out the version info:&lt;BR /&gt;For the standalone package:&lt;BR /&gt;please see into the &lt;MKLROOT&gt;docmklsupport.txt file )&lt;BR /&gt;you can find there smth like Package ID: l_mkl_p_10.2.1.017&lt;BR /&gt;&lt;BR /&gt;for the bundled version of mkl ( Intel Compiler Professional Edition ):&lt;BR /&gt;see into csupport.txt or fsuppor.txt files ( Documentation folder )&lt;BR /&gt;&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/MKLROOT&gt;&lt;/MKL&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Do I use the same "-i8" for icc? &lt;BR /&gt;( my machine is down for the moment otherwise I could just try it)&lt;BR /&gt;Thanks for info about how to find the version &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Sep 2009 14:15:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880636#M9511</guid>
      <dc:creator>exihea</dc:creator>
      <dc:date>2009-09-03T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880637#M9512</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/367365"&gt;tim18&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; You have specified the 64-bit integer ilp64 interface, but you pass 32-bit int scalar references and arrays. I guess your example worked when you specified 32-bit integers (lp64 for the 64-bit libraries, no choice for 32-bit libraries).&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I thought the 64bit meaned you compile it with -m64 (default). &lt;BR /&gt;What library should I link to if I want to use 32 bit integer? I do not see anything like libmkl_intel_ilp32.so&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Sep 2009 14:22:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880637#M9512</guid>
      <dc:creator>exihea</dc:creator>
      <dc:date>2009-09-03T14:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880638#M9513</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/417608"&gt;exihea&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;&lt;/DIV&gt;
&lt;BR /&gt;I thought the 64bit meaned you compile it with -m64 (default). &lt;BR /&gt;What library should I link to if I want to use 32 bit integer? I do not see anything like libmkl_intel_ilp32.so&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;OK, I linked to libmkl_intel_lp64.so and everything works fine now. &lt;BR /&gt;Thank you all for help&lt;BR /&gt;-Guochun&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Sep 2009 14:37:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880638#M9513</guid>
      <dc:creator>exihea</dc:creator>
      <dc:date>2009-09-03T14:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: dsyevd does not return correct value on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880639#M9514</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/417608"&gt;exihea&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;&lt;/DIV&gt;
&lt;BR /&gt;OK, I linked to libmkl_intel_lp64.so and everything works fine now. &lt;BR /&gt;Thank you all for help&lt;BR /&gt;-Guochun&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Guochun,&lt;BR /&gt;for building ilp64 libraries with Intel C++ compiler, please try to use /MKL_ILP64 preprocessor definition.&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Sep 2009 18:26:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsyevd-does-not-return-correct-value-on-query/m-p/880639#M9514</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-09-03T18:26:11Z</dc:date>
    </item>
  </channel>
</rss>

