<?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 ZHBEVD returns a wrong space size on query in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812891#M4056</link>
    <description>Hi,&lt;BR /&gt;I have a code that uses ZHBEVD. I try linking it with either a generic version of LAPACK or with MKL. The exact same code, linked with either library does not give the same workspace sizes.&lt;BR /&gt;&lt;BR /&gt;With the generic version of LAPACK, I get : &lt;BR /&gt;lwork: 162&lt;BR /&gt;lrwork: 208&lt;BR /&gt;liwork: 48&lt;BR /&gt;&lt;BR /&gt;With MKL, I get : &lt;BR /&gt;lwork: 162&lt;BR /&gt;lrwork: 208&lt;BR /&gt;liwork: 210453397552&lt;BR /&gt;&lt;BR /&gt;This last liwork size obviously produces a bad_alloc error and terminates the program.&lt;BR /&gt;&lt;BR /&gt;Not sure if this is the right place to submit this, but here it is.</description>
    <pubDate>Wed, 01 Jun 2011 22:22:33 GMT</pubDate>
    <dc:creator>mboisson</dc:creator>
    <dc:date>2011-06-01T22:22:33Z</dc:date>
    <item>
      <title>ZHBEVD returns a wrong space size on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812891#M4056</link>
      <description>Hi,&lt;BR /&gt;I have a code that uses ZHBEVD. I try linking it with either a generic version of LAPACK or with MKL. The exact same code, linked with either library does not give the same workspace sizes.&lt;BR /&gt;&lt;BR /&gt;With the generic version of LAPACK, I get : &lt;BR /&gt;lwork: 162&lt;BR /&gt;lrwork: 208&lt;BR /&gt;liwork: 48&lt;BR /&gt;&lt;BR /&gt;With MKL, I get : &lt;BR /&gt;lwork: 162&lt;BR /&gt;lrwork: 208&lt;BR /&gt;liwork: 210453397552&lt;BR /&gt;&lt;BR /&gt;This last liwork size obviously produces a bad_alloc error and terminates the program.&lt;BR /&gt;&lt;BR /&gt;Not sure if this is the right place to submit this, but here it is.</description>
      <pubDate>Wed, 01 Jun 2011 22:22:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812891#M4056</guid>
      <dc:creator>mboisson</dc:creator>
      <dc:date>2011-06-01T22:22:33Z</dc:date>
    </item>
    <item>
      <title>ZHBEVD returns a wrong space size on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812892#M4057</link>
      <description>Could you attach the example of the code you use?&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;see this &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=62285"&gt;link&lt;/A&gt; how to attach file to forum post.&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jun 2011 06:42:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812892#M4057</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-06-02T06:42:01Z</dc:date>
    </item>
    <item>
      <title>ZHBEVD returns a wrong space size on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812893#M4058</link>
      <description>Hi,&lt;BR /&gt;Yes, here is a sample code. The included headers are not the ones provided with MKL, but rather the clapack ones. It should however not matter other than calling the types by different names.&lt;BR /&gt;&lt;BR /&gt;Here is the output of the program :&lt;BR /&gt;[mboisson@ip12 demo]$ ./demo_exe_test_zhbevd.out &lt;BR /&gt;Content of the matrix: &lt;BR /&gt;(0,0)&lt;BR /&gt;(0,0)&lt;BR /&gt;(-0.1,0)&lt;BR /&gt;(0,0)&lt;BR /&gt;(-0.141421,0)&lt;BR /&gt;(0,0)&lt;BR /&gt;Before workspace query&lt;BR /&gt;jobz:V&lt;BR /&gt;uplo:U&lt;BR /&gt;n:3&lt;BR /&gt;kd: 1&lt;BR /&gt;ldab: 2&lt;BR /&gt;lwork: -1&lt;BR /&gt;lrwork: -1&lt;BR /&gt;liwork: -1&lt;BR /&gt;info: 0&lt;BR /&gt;After workspace query&lt;BR /&gt;jobz:V&lt;BR /&gt;uplo:U&lt;BR /&gt;n:3&lt;BR /&gt;kd: 1&lt;BR /&gt;ldab: 2&lt;BR /&gt;lwork: 18&lt;BR /&gt;lrwork: 34&lt;BR /&gt;liwork: 210453397522&lt;BR /&gt;info: 0&lt;BR /&gt;terminate called after throwing an instance of 'std::bad_alloc'&lt;BR /&gt; what(): St9bad_alloc&lt;BR /&gt;Aborted&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2011 20:08:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812893#M4058</guid>
      <dc:creator>mboisson</dc:creator>
      <dc:date>2011-06-02T20:08:52Z</dc:date>
    </item>
    <item>
      <title>ZHBEVD returns a wrong space size on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812894#M4059</link>
      <description>Oh, and the MKL version that is used is mkl64/10.1.3.027</description>
      <pubDate>Thu, 02 Jun 2011 20:10:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812894#M4059</guid>
      <dc:creator>mboisson</dc:creator>
      <dc:date>2011-06-02T20:10:42Z</dc:date>
    </item>
    <item>
      <title>ZHBEVD returns a wrong space size on query</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812895#M4060</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;If you use libmkl_intel_lp64.a for linking you should change the line  typedef long int integer; to typedef int integer; in file f2c.h.&lt;/P&gt;&lt;P&gt;Or you should use libmkl_intel_ilp64.a for correct result because sizeof (long int) = 8 byte for Linux and 64-bit x86-64.&lt;/P&gt;&lt;P&gt;Below my output result with libmkl_intel_ilp64.a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content of the matrix: &lt;/P&gt;&lt;P&gt;(0,0)&lt;/P&gt;&lt;P&gt;(0,0)&lt;/P&gt;&lt;P&gt;(-0.1,0)&lt;/P&gt;&lt;P&gt;(0,0)&lt;/P&gt;&lt;P&gt;(-0.141421,0)&lt;/P&gt;&lt;P&gt;(0,0)&lt;/P&gt;&lt;P&gt;Before workspace query&lt;/P&gt;&lt;P&gt;jobz:V&lt;/P&gt;&lt;P&gt;uplo:U&lt;/P&gt;&lt;P&gt;n:3&lt;/P&gt;&lt;P&gt;kd: 1&lt;/P&gt;&lt;P&gt;ldab: 2&lt;/P&gt;&lt;P&gt;lwork: -1&lt;/P&gt;&lt;P&gt;lrwork: -1&lt;/P&gt;&lt;P&gt;liwork: -1&lt;/P&gt;&lt;P&gt;info: 0&lt;/P&gt;&lt;P&gt;After workspace query&lt;/P&gt;&lt;P&gt;jobz:V&lt;/P&gt;&lt;P&gt;uplo:U&lt;/P&gt;&lt;P&gt;n:3&lt;/P&gt;&lt;P&gt;kd: 1&lt;/P&gt;&lt;P&gt;ldab: 2&lt;/P&gt;&lt;P&gt;lwork: 18&lt;/P&gt;&lt;P&gt;lrwork: 34&lt;/P&gt;&lt;P&gt;liwork: 18&lt;/P&gt;&lt;P&gt;info: 0&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2011 16:17:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ZHBEVD-returns-a-wrong-space-size-on-query/m-p/812895#M4060</guid>
      <dc:creator>Tamara_K_Intel</dc:creator>
      <dc:date>2011-06-08T16:17:05Z</dc:date>
    </item>
  </channel>
</rss>

