<?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:Runtime error in the first example for the Memory Functions in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1316096#M32076</link>
    <description>&lt;P&gt;The original issue has not been confirmed and this thread is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Sep 2021 04:52:09 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2021-09-21T04:52:09Z</dc:date>
    <item>
      <title>Runtime error in the first example for the Memory Functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1313822#M32029</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;While I was reproducing the result of the first example for the memory functions, a runtime error arose. Please find the source code 'Memory_func_ex1', and the corresponding given document by&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top/support-functions/memory-management/usage-examples-for-the-memory-functions.html#usage-examples-for-the-memory-functions" target="_blank" rel="noopener"&gt;Usage Examples for the Memory Functions (intel.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After I changing declaration part of the arrays A, B, and C, the code ran without errors. Please find the attached source code 'Memory_func_ex1_rev' of the revised version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I am wondering if this is really a bug in the given code, or I made something wrong.&lt;/P&gt;
&lt;P&gt;The only things I changed from the given code are&lt;/P&gt;
&lt;P&gt;- I do not use&lt;/P&gt;
&lt;P&gt;INCLUDE 'mkl.fi'&lt;/P&gt;
&lt;P&gt;- I chose the following for my 64bit system&lt;/P&gt;
&lt;P&gt;INTEGER*8 MKL_MALLOC, MKL_CALLOC, MKL_REALLOC&lt;BR /&gt;INTEGER*8 ALLOC_SIZE, NUM, SIZE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 11:30:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1313822#M32029</guid>
      <dc:creator>dimdol10</dc:creator>
      <dc:date>2021-09-11T11:30:59Z</dc:date>
    </item>
    <item>
      <title>Re:Runtime error in the first example for the Memory Functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1314141#M32038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us. We are working on your issue. We will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 12:45:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1314141#M32038</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2021-09-13T12:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error in the first example for the Memory Functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1314707#M32057</link>
      <description>&lt;P&gt;What Runtime error are You talking about? Could you clarify? I see no runtime problem with this code example.&amp;nbsp; Running this code main.f90 with&amp;nbsp;Memory_func_ex1.f90 call only, I see no problem.&lt;/P&gt;
&lt;P&gt;Here are the logs :&lt;/P&gt;
&lt;P&gt;$ ./a.out&lt;BR /&gt;DGEMM uses 232271624 bytes in 47 buffers&lt;BR /&gt;Peak memory allocated by Intel MKL memory allocator 0&lt;BR /&gt;bytes. Start to count new memory peak&lt;BR /&gt;After reset of peak memory counter&lt;BR /&gt;Peak memory allocated by Intel MKL memory allocator 0&lt;BR /&gt;bytes&lt;/P&gt;
&lt;P&gt;Here, I switch on the verbose mode to show MKL version details:&lt;/P&gt;
&lt;P&gt;$ export MKL_VERBOSE=1&lt;BR /&gt;$ ./a.out&lt;BR /&gt;MKL_VERBOSE &lt;STRONG&gt;oneMKL 2021.0 Update 3&lt;/STRONG&gt; Product build 20210617 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Lnx 2.20GHz lp64 intel_thread&lt;BR /&gt;MKL_VERBOSE DGEMM(N,N,1000,1000,1000,0x7fffd4002df0,0x2b6b92c58080,1000,0x2b6b933fa080,1000,0x7fffd4002df8,0x2b6b93b9c080,1000) 59.31ms CNR:OFF Dyn:1 FastMM:1 TID:0 NThr:44&lt;BR /&gt;DGEMM uses 232271624 bytes in 47 buffers&lt;BR /&gt;Peak memory allocated by Intel MKL memory allocator 0&lt;BR /&gt;bytes. Start to count new memory peak&lt;BR /&gt;After reset of peak memory counter&lt;BR /&gt;Peak memory allocated by Intel MKL memory allocator 0&lt;BR /&gt;bytes&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Gennady&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:38:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1314707#M32057</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-09-15T07:38:08Z</dc:date>
    </item>
    <item>
      <title>Re:Runtime error in the first example for the Memory Functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1316096#M32076</link>
      <description>&lt;P&gt;The original issue has not been confirmed and this thread is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Sep 2021 04:52:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-the-first-example-for-the-Memory-Functions/m-p/1316096#M32076</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-09-21T04:52:09Z</dc:date>
    </item>
  </channel>
</rss>

