<?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 largest matrix size by the LAPACKE_dsyevr in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143974#M26556</link>
    <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; I am trying to diagonalize a square matrix of size N=73789, with a MKL LAPACKE_dsyevr, and&lt;BR /&gt;
	need to find all the eigenvalues and eigenvectors. The machine I am running on uses&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.2.199 Build 20180210&lt;BR /&gt;
	and has 3TB of RAM. The matrix itself occupies ~44 G. The code calls the&lt;BR /&gt;
	&amp;nbsp; info = LAPACKE_dsyevr( LAPACK_COL_MAJOR, 'V', 'A', 'U', N, A, LDA,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vl, vu, il, iu, abstol, &amp;amp;m, W, Z, LDZ, ISUPPZ );&lt;BR /&gt;
	&amp;nbsp;successfully, and spends about ~6000 minutes in the routine (it multithreads with the available processors),&lt;BR /&gt;
	and the memory requirement is steady.&lt;BR /&gt;
	&amp;nbsp;However, when it seems it is nearly finished, there is a segmentation fault (core dumped).&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Can anyone tell me why this is happening? Or if this is too big a matrix to be used with dsyevr?&lt;BR /&gt;
	&amp;nbsp;Thanks,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Debasish&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 16:28:15 GMT</pubDate>
    <dc:creator>Banerjee__Debasish</dc:creator>
    <dc:date>2018-06-21T16:28:15Z</dc:date>
    <item>
      <title>largest matrix size by the LAPACKE_dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143974#M26556</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; I am trying to diagonalize a square matrix of size N=73789, with a MKL LAPACKE_dsyevr, and&lt;BR /&gt;
	need to find all the eigenvalues and eigenvectors. The machine I am running on uses&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.2.199 Build 20180210&lt;BR /&gt;
	and has 3TB of RAM. The matrix itself occupies ~44 G. The code calls the&lt;BR /&gt;
	&amp;nbsp; info = LAPACKE_dsyevr( LAPACK_COL_MAJOR, 'V', 'A', 'U', N, A, LDA,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vl, vu, il, iu, abstol, &amp;amp;m, W, Z, LDZ, ISUPPZ );&lt;BR /&gt;
	&amp;nbsp;successfully, and spends about ~6000 minutes in the routine (it multithreads with the available processors),&lt;BR /&gt;
	and the memory requirement is steady.&lt;BR /&gt;
	&amp;nbsp;However, when it seems it is nearly finished, there is a segmentation fault (core dumped).&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Can anyone tell me why this is happening? Or if this is too big a matrix to be used with dsyevr?&lt;BR /&gt;
	&amp;nbsp;Thanks,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Debasish&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 16:28:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143974#M26556</guid>
      <dc:creator>Banerjee__Debasish</dc:creator>
      <dc:date>2018-06-21T16:28:15Z</dc:date>
    </item>
    <item>
      <title>Hi, Debasish. </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143975#M26557</link>
      <description>&lt;P&gt;Hi, Debasish.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I&lt;SPAN style="font-size: 1em;"&gt;t looks like a issue with syevr. But actually if this is the real issue, then this an unknow issue for MKL 2018 u3. Could you try another routine like syev or syevd?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;btw, do you use ILP64 API?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Gennady&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 02:28:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143975#M26557</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-06-22T02:28:38Z</dc:date>
    </item>
    <item>
      <title>Hi Gennady,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143976#M26558</link>
      <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for your reply. I don't use ILP64 API.&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; I could try using syev or syevd but I am afraid that the memory might explode, since it is well-known&lt;BR /&gt;
	&amp;nbsp; that the divide-and-conquer requires much more memory than the relatively-robust-representations.&lt;BR /&gt;
	&amp;nbsp; But I will try this, and if the issue persists, come back.&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; Debasish&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 07:27:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143976#M26558</guid>
      <dc:creator>Banerjee__Debasish</dc:creator>
      <dc:date>2018-06-22T07:27:50Z</dc:date>
    </item>
    <item>
      <title> Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143977#M26559</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I am attaching my code here for the LAPACKE_dsyevr. This fails for NxN matrices with N=80,000, (but works fine for N=40,000).&lt;BR /&gt;
	&amp;nbsp;It complains of segmentation fault, even though enough memory is available to the routine (I am using a 3TB RAM).&lt;BR /&gt;
	&amp;nbsp;Could you please spot any bad memory allocation in the code?&lt;BR /&gt;
	I am using Intel MKL 2018.&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp; Thanks in advance,&lt;BR /&gt;
	&amp;nbsp; Debasish&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 14:27:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143977#M26559</guid>
      <dc:creator>Banerjee__Debasish</dc:creator>
      <dc:date>2018-06-22T14:27:21Z</dc:date>
    </item>
    <item>
      <title>Thanks for the test. Could</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143978#M26560</link>
      <description>&lt;P&gt;Thanks for the test. Could you please try to use ILP64 and check if the problem will still exist!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 14:30:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143978#M26560</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-06-23T14:30:52Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143979#M26561</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&amp;nbsp; I can confirm that the issue goes away when compiling and running with -ILP64. I can reach matrices upto ~ NxN with&lt;BR /&gt;
	&amp;nbsp;N = 8*10^4.&lt;/P&gt;

&lt;P&gt;&amp;nbsp; Thanks for the suggestion,&lt;BR /&gt;
	&amp;nbsp; Debasish&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2018 08:06:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/largest-matrix-size-by-the-LAPACKE-dsyevr/m-p/1143979#M26561</guid>
      <dc:creator>Banerjee__Debasish</dc:creator>
      <dc:date>2018-06-24T08:06:22Z</dc:date>
    </item>
  </channel>
</rss>

