<?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: Problem of MKL memory management with mkl_malloc, mkl_memst in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868917#M8276</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Hi,&lt;BR /&gt;&lt;BR /&gt;a few things: (a) your version is too old. I believe the memory management was introduced with 10.0 update 2 (b) you need INCLUDE 'mkl_service.fi' statement in your code.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thank you so much, ArturGuzik&lt;BR /&gt;&lt;BR /&gt;I'm using MKL version 10.0 update 2 but without the statement of the (include 'mkl_service.fi'), since there isn't in the include file. Now, I don't have the previous problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 04 Apr 2009 18:52:56 GMT</pubDate>
    <dc:creator>nansal</dc:creator>
    <dc:date>2009-04-04T18:52:56Z</dc:date>
    <item>
      <title>Problem of MKL memory management with mkl_malloc, mkl_memstat, mkl_free</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868915#M8274</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;For applying the MKL memory management, I have used the external functions: mkl_malloc, mkl_memstat, and mkl_free, in my Fortran program in Linux.&lt;BR /&gt;&lt;BR /&gt;I write these command lines in terminal:&lt;BR /&gt;MKL_LIBRARY_PATH=/opt/intel/mkl/9.1.023/lib/32&lt;BR /&gt;MKL_INCLUDE_PATH=/opt/intel/mkl/9.1.023/include&lt;BR /&gt;ifort -c my_program.for -L MKL_LIBRARY_PATH -I MKL_INCLUDE_PATH -lmkl_lapack -lmkl_ia32 -lguide -lpthread&lt;BR /&gt;&lt;BR /&gt;But after this command line:&lt;BR /&gt;ifort -o my_prog my_program.o -L MKL_LIBRARY_PATH -I MKL_INCLUDE_PATH -lmkl_lapack -lmkl_ia32 -lguide -lpthread&lt;BR /&gt;I have this message:&lt;BR /&gt;undefined reference 'mkl_malloc_'&lt;BR /&gt;undefined reference 'mkl_memstat_'&lt;BR /&gt;undefined reference 'mkl_free_'&lt;BR /&gt;&lt;BR /&gt;Has anyone have this problem?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2009 19:24:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868915#M8274</guid>
      <dc:creator>nansal</dc:creator>
      <dc:date>2009-03-31T19:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of MKL memory management with mkl_malloc, mkl_memst</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868916#M8275</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/420834"&gt;nansal&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;For applying the MKL memory management, I have used the external functions: mkl_malloc, mkl_memstat, and mkl_free, in my Fortran program in Linux.&lt;BR /&gt;&lt;BR /&gt;I write these command lines in terminal:&lt;BR /&gt;MKL_LIBRARY_PATH=/opt/intel/mkl/9.1.023/lib/32&lt;BR /&gt;MKL_INCLUDE_PATH=/opt/intel/mkl/9.1.023/include&lt;BR /&gt;ifort -c my_program.for -L MKL_LIBRARY_PATH -I MKL_INCLUDE_PATH -lmkl_lapack -lmkl_ia32 -lguide -lpthread&lt;BR /&gt;&lt;BR /&gt;But after this command line:&lt;BR /&gt;ifort -o my_prog my_program.o -L MKL_LIBRARY_PATH -I MKL_INCLUDE_PATH -lmkl_lapack -lmkl_ia32 -lguide -lpthread&lt;BR /&gt;I have this message:&lt;BR /&gt;undefined reference 'mkl_malloc_'&lt;BR /&gt;undefined reference 'mkl_memstat_'&lt;BR /&gt;undefined reference 'mkl_free_'&lt;BR /&gt;&lt;BR /&gt;Has anyone have this problem?&lt;BR /&gt;Thanks&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;a few things: (a) your version is too old. I believe the memory management was introduced with 10.0 update 2 (b) you need INCLUDE 'mkl_service.fi' statement in your code.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Apr 2009 00:42:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868916#M8275</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-04-01T00:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of MKL memory management with mkl_malloc, mkl_memst</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868917#M8276</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Hi,&lt;BR /&gt;&lt;BR /&gt;a few things: (a) your version is too old. I believe the memory management was introduced with 10.0 update 2 (b) you need INCLUDE 'mkl_service.fi' statement in your code.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thank you so much, ArturGuzik&lt;BR /&gt;&lt;BR /&gt;I'm using MKL version 10.0 update 2 but without the statement of the (include 'mkl_service.fi'), since there isn't in the include file. Now, I don't have the previous problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 04 Apr 2009 18:52:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868917#M8276</guid>
      <dc:creator>nansal</dc:creator>
      <dc:date>2009-04-04T18:52:56Z</dc:date>
    </item>
    <item>
      <title>and for C??</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868918#M8277</link>
      <description>and for C??</description>
      <pubDate>Fri, 05 Oct 2012 18:50:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868918#M8277</guid>
      <dc:creator>Sahar_A_</dc:creator>
      <dc:date>2012-10-05T18:50:51Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868919#M8278</link>
      <description>Hi,

MKL 10.0 is a major release which introduced layered model of libraries. So, link line is very different with MKL 9.1  release.
Please try &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;</description>
      <pubDate>Sun, 07 Oct 2012 16:22:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-of-MKL-memory-management-with-mkl-malloc-mkl-memstat-mkl/m-p/868919#M8278</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2012-10-07T16:22:01Z</dc:date>
    </item>
  </channel>
</rss>

