<?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 MKL SPEVD documentation error and unknown error return--need he in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826249#M5124</link>
    <description>&lt;P&gt;OK, in building a complete example, I discoved that the AP argument must be passed with the exact dimension, i.e. AP(md*(md+1)/2) in my case. This is understandable, and I should have realized it sooner.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2011 14:20:37 GMT</pubDate>
    <dc:creator>nvaneck</dc:creator>
    <dc:date>2011-09-21T14:20:37Z</dc:date>
    <item>
      <title>MKL SPEVD documentation error and unknown error return--need help</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826246#M5121</link>
      <description>I've got a call to spevd that works for a 2 dimensional matrix, but fails with a 15 dimensional matrix. The returned infoi value is -7, indicaiton error in 7th argument, but there are only 5 possible arguments to the F95 call. Additionally, the dicuemntation mentions a returned jobz argument that does not exist in the call. Even if it did, that would make only 7 arguemnts.&lt;BR /&gt;&lt;BR /&gt;The call is:&lt;BR /&gt;&lt;P&gt;use lapack95&lt;/P&gt;&lt;P&gt;REAL(8) R(MD,MD),E(MD),V(MD,MD),E1(MD),V1(MD,MD)&lt;BR /&gt;REAL(8) AP(MD*MD)&lt;BR /&gt;E1=0.&lt;BR /&gt;V1=0.&lt;BR /&gt;K=1&lt;BR /&gt;DO J=1,MD&lt;BR /&gt; DO I=J,MD&lt;BR /&gt; AP(K)=R(I,J)&lt;BR /&gt; K=K+1&lt;BR /&gt; END DO&lt;BR /&gt;END DO&lt;/P&gt;&lt;P&gt;CALL spevd(AP,E1,'L',V1,INFO)&lt;BR /&gt;&lt;BR /&gt;where md is 21.&lt;BR /&gt;&lt;BR /&gt;The documentaed call is:&lt;/P&gt;&lt;P&gt;Fortran 95: &lt;/P&gt;&lt;P&gt;call spevd(ap, w [,uplo] [,z] [,info])&lt;BR /&gt;&lt;BR /&gt;and additionally states later:&lt;/P&gt;&lt;P&gt;Specific details for the routine spevd interface are the following:&lt;/P&gt;&lt;P&gt;ap Holds the array A of size (n*(n+1)/2).&lt;/P&gt;&lt;P&gt;w Holds the vector with the number of elements n.&lt;/P&gt;&lt;P&gt;z Holds the matrix Z of size (n, n).&lt;/P&gt;&lt;P&gt;uplo Must be 'U' or 'L'. The default value is 'U'.&lt;/P&gt;&lt;P&gt;jobz Restored based on the presence of the argument z as follows: &lt;/P&gt;&lt;P&gt;jobz = 'V', if z is present, &lt;/P&gt;&lt;P&gt;jobz = 'N', if z is omitted.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 12:48:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826246#M5121</guid>
      <dc:creator>nvaneck</dc:creator>
      <dc:date>2011-09-21T12:48:20Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error and unknown error return--need he</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826247#M5122</link>
      <description>The documentation can be confusing since it tries to cover calling from F77, F9x and C. Likewise, runtime error messages can refer to the F77 call to which the F95 interface maps your call. &lt;BR /&gt;&lt;BR /&gt;If you provide a complete, self-contained example that exhibits the problem, I can look at it. On the other hand, code fragments with unknown argument values are not enough to get started with probing for causes of aborts.</description>
      <pubDate>Wed, 21 Sep 2011 13:35:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826247#M5122</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-21T13:35:03Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error and unknown error return--need he</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826248#M5123</link>
      <description>I am moving this to the MKL forum section. I suggest posting MKL questions there for fastest response.</description>
      <pubDate>Wed, 21 Sep 2011 13:41:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826248#M5123</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-09-21T13:41:55Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error and unknown error return--need he</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826249#M5124</link>
      <description>&lt;P&gt;OK, in building a complete example, I discoved that the AP argument must be passed with the exact dimension, i.e. AP(md*(md+1)/2) in my case. This is understandable, and I should have realized it sooner.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:20:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826249#M5124</guid>
      <dc:creator>nvaneck</dc:creator>
      <dc:date>2011-09-21T14:20:37Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error (F95 interface only)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826250#M5125</link>
      <description>&lt;I&gt;&amp;gt;must be passed with the exact dimension&lt;/I&gt;&lt;DIV&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;That is an undesirable side effect of using the F95 interface. Since the argument list does not contain &lt;I&gt;n, &lt;/I&gt;the number of rows (or columns) of the matrix, the value of &lt;I&gt;n&lt;/I&gt; has to be deduced from the size of the packed array by solving a quadratic equation for &lt;I&gt;n&lt;/I&gt;, ( &lt;I&gt;n (n + 1) /2&lt;/I&gt; = length of array&lt;I&gt;Ap&lt;/I&gt;) as we can see in the source files sspevd.f90and dspevd.f90.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The documentation says&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;  The dimension of&lt;VAR&gt;ap&lt;/VAR&gt;must be at least max(1,&lt;VAR&gt;n&lt;/VAR&gt;*(&lt;VAR&gt;n&lt;/VAR&gt;+1)/2)&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;That does not apply to the F95 interface, for which "at least" should be removed. I hope that one of the Intel people will take note of this.&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:57:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826250#M5125</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-21T15:57:54Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error (F95 interface only)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826251#M5126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The info argument returns the number of argument of original Fortran 77 interface. So the argument -7 corresponds here to LDZ argument that is skipped in the Fortran 95 interface.&lt;/P&gt;&lt;P&gt;And really, &lt;I&gt;at least&lt;/I&gt; does not apply to Fortran 95 arrays. All F95 arrays must have exact dimensions. MKL &lt;A href="http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/2011Update/mklxe/mkl_manual_win_mac/index.htm"&gt;documentation &lt;/A&gt;claims:&lt;/P&gt;&lt;P&gt;Input arguments such as array dimensions are not required in Fortran95 and are skipped from the calling sequence. Array dimensions are reconstructed from the user data that must exactly follow the required array shape.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2011 09:00:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826251#M5126</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2011-09-22T09:00:26Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error (F95 interface only)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826252#M5127</link>
      <description>ok, thanks. we have got it.</description>
      <pubDate>Thu, 22 Sep 2011 11:06:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826252#M5127</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-09-22T11:06:31Z</dc:date>
    </item>
    <item>
      <title>MKL SPEVD documentation error (F95 interface only)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826253#M5128</link>
      <description>&lt;P&gt;MKL *spevd there is a slow function. It is better to use algorithms of diagonalization for square matrixes. See &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=76595&amp;amp;o=d&amp;amp;s=lr"&gt;http://software.intel.com/en-us/forums/showthread.php?t=76595&amp;amp;o=d&amp;amp;s=lr&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2011 13:11:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-SPEVD-documentation-error-and-unknown-error-return-need-help/m-p/826253#M5128</guid>
      <dc:creator>yuriisig</dc:creator>
      <dc:date>2011-09-22T13:11:43Z</dc:date>
    </item>
  </channel>
</rss>

