<?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 How to avoid out of memory problem about the mkl syevd? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136826#M26090</link>
    <description>&lt;P&gt;When I use the syevd function in mkl of fortran to calculate the eigenvalues and eigenvectors in my linux system, there are some troubles. Sometimes, the system will send message "Intel MKL INTERNAL ERROR: Insufficient workspace available in function SYEVD" or rerurn info=-1000, then&amp;nbsp;the eigenvalues are all zeros. Those show that&amp;nbsp;the computer is running out of memory. But the memory of my linux system is 125G and there are no other processes that take up memory. My&amp;nbsp;matirx is 20000*20000 and is it really due to the insufficient memory?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 09:51:28 GMT</pubDate>
    <dc:creator>wang__ningning</dc:creator>
    <dc:date>2020-03-06T09:51:28Z</dc:date>
    <item>
      <title>How to avoid out of memory problem about the mkl syevd?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136826#M26090</link>
      <description>&lt;P&gt;When I use the syevd function in mkl of fortran to calculate the eigenvalues and eigenvectors in my linux system, there are some troubles. Sometimes, the system will send message "Intel MKL INTERNAL ERROR: Insufficient workspace available in function SYEVD" or rerurn info=-1000, then&amp;nbsp;the eigenvalues are all zeros. Those show that&amp;nbsp;the computer is running out of memory. But the memory of my linux system is 125G and there are no other processes that take up memory. My&amp;nbsp;matirx is 20000*20000 and is it really due to the insufficient memory?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 09:51:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136826#M26090</guid>
      <dc:creator>wang__ningning</dc:creator>
      <dc:date>2020-03-06T09:51:28Z</dc:date>
    </item>
    <item>
      <title>It should fit with this size</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136827#M26091</link>
      <description>&lt;P&gt;It should fit with this size of RAM. When you set work = -1, then check the working array size would be returned by this function. The problem might be how much free memory available on your system when you run this code?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 13:05:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136827#M26091</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-06T13:05:31Z</dc:date>
    </item>
    <item>
      <title>I built the dsyevd example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136828#M26092</link>
      <description>&lt;P&gt;I built the dsyevd example and added&amp;nbsp;mkl_peak_mem_usage to report the peak memory allocated by mkl's syevd:&lt;/P&gt;&lt;P&gt;here is the output:&lt;/P&gt;&lt;P&gt;./a.out 20000&lt;BR /&gt;lwork == 800120001&amp;nbsp; &amp;lt;- size of the working array&lt;BR /&gt;... dsyevd passed with the status == 0...&lt;BR /&gt;..Currently allocated by Intel(R) MKL allocator : &lt;STRONG&gt;10449815140&lt;/STRONG&gt; bytes in &amp;nbsp; 96 buffers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 10:11:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136828#M26092</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-07T10:11:49Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady F. (Blackbelt)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136829#M26093</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady F. (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built the dsyevd example and added&amp;nbsp;mkl_peak_mem_usage to report the peak memory allocated by mkl's syevd:&lt;/P&gt;&lt;P&gt;here is the output:&lt;/P&gt;&lt;P&gt;./a.out 20000&lt;BR /&gt;lwork == 800120001&amp;nbsp; &amp;lt;- size of the working array&lt;BR /&gt;... dsyevd passed with the status == 0...&lt;BR /&gt;..Currently allocated by Intel(R) MKL allocator : &lt;STRONG&gt;10449815140&lt;/STRONG&gt; bytes in &amp;nbsp; 96 buffers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, now I ues the&amp;nbsp;syevd function just as: call syevd(C,W,'V','U',info).&amp;nbsp; This function is different with the dsyevd and has no parameter lwork. So how to aviod the memory problem. And the linux system has no other program running in the same time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 09:50:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136829#M26093</guid>
      <dc:creator>wang__ningning</dc:creator>
      <dc:date>2020-03-18T09:50:36Z</dc:date>
    </item>
    <item>
      <title>the memory consumption should</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136830#M26094</link>
      <description>&lt;P&gt;the memory consumption should be the same&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 07:37:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136830#M26094</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-19T07:37:07Z</dc:date>
    </item>
    <item>
      <title>I build the trivial example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136831#M26095</link>
      <description>&lt;P&gt;I build the trivial example of SYEVD API and ran on the machine with 128 Gb of RAM. Everything works as expected&lt;/P&gt;&lt;P&gt;$ ./a.out&lt;BR /&gt;&amp;nbsp;SYEVD Example, Problem size == &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20000&lt;BR /&gt;&amp;nbsp;...SYEVD start...&lt;BR /&gt;&amp;nbsp;...SYEVD finish, Status == &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 08:22:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136831#M26095</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-19T08:22:51Z</dc:date>
    </item>
    <item>
      <title>the same with verbose mode</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136832#M26096</link>
      <description>&lt;P&gt;the same with verbose mode enabled:&lt;/P&gt;&lt;P&gt;$ ./a.out&lt;BR /&gt;&amp;nbsp;SYEVD Example, Problem size == &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20000&lt;BR /&gt;&amp;nbsp;...SYEVD start...&lt;BR /&gt;MKL_VERBOSE Intel(R) MKL 2020.0 Product build 20191122 for Intel(R) 64 architectenabled processors, Lnx 2.80GHz lp64 intel_thread&lt;BR /&gt;MKL_VERBOSE SSYEVD(V,L,20000,0x2acabe264200,20000,0x2acabc9f6240,0x7ffe41ad3da0,ID:0 &amp;nbsp;NThr:20&lt;BR /&gt;MKL_VERBOSE SSYEVD(V,L,20000,0x2acabe264200,20000,0x2acabc9f6240,0x2acb1e2652c0,800120064,0x2acabca0a280,100003,0) 127.43s CNR:OFF Dyn:1 FastMM:1 TID:0 &amp;nbsp;NThr:20&lt;BR /&gt;&amp;nbsp;...SYEVD finish, Status == &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 08:27:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136832#M26096</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-19T08:27:18Z</dc:date>
    </item>
    <item>
      <title>Ningning Wang: I suspect that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136833#M26097</link>
      <description>&lt;P&gt;Ningning Wang: I suspect that you are making a rather basic mistake, which we could have readily pointed out if you had shown us enough of your code to enable doing so.&lt;/P&gt;&lt;P&gt;The routine name SYEVD is a generic name for two specific names, and has the calling sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; call syevd(a,&amp;nbsp;w&amp;nbsp;[,jobz]&amp;nbsp;[,uplo]&amp;nbsp;[,info])&lt;/P&gt;&lt;P&gt;An argument list with optional arguments implies that the caller must be provided with an interface to the routine SYEVD. Without that interface, the call will fail in mysterious ways. You must either add a&amp;nbsp;USE LAPACK95 statement at the beginning of the subprogram or main program from which you call the generic SYEVD, or provide an interface for SYEVD in another way. See&amp;nbsp;&lt;EM&gt;Fortran 95 Interface Conventions for LAPACK Routines&lt;/EM&gt; in the MKL Developer&amp;nbsp;Reference.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 17:48:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1136833#M26097</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-03-20T17:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid out of memory problem about the mkl syevd?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1280828#M31321</link>
      <description>&lt;P&gt;I also met this kind of problem for large matrices.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess you were using the old LAPACK 95 interface for Fortran or the C interface, where the function dsyevd() or LAPACKE_dsyevd() has simpler form. If you use the (not so) new Fortran interface, you will see the function with more parameters, some of which control/affect the memory usage. Please check&amp;nbsp;&lt;A href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/dsyevd.htm" target="_self"&gt;dsyevd Example (intel.com)&lt;/A&gt;&amp;nbsp;for more information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 10:05:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-avoid-out-of-memory-problem-about-the-mkl-syevd/m-p/1280828#M31321</guid>
      <dc:creator>CCheng_LZU</dc:creator>
      <dc:date>2021-05-12T10:05:49Z</dc:date>
    </item>
  </channel>
</rss>

