<?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 Hello, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927619#M13476</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This error could be caused by the invalid input data. You can have double check in the manual on the requirement of this function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, do you have some test code that show this problem? That also be helpful to root the problem.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2013 08:35:45 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2013-06-24T08:35:45Z</dc:date>
    <item>
      <title>how to call a mkl subroutine frequently without changing the arrays</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927616#M13473</link>
      <description>&lt;P&gt;I'm writting a program that calls the geqp3 frequently. Because the mkl subroutine is&amp;nbsp;geqp3(A,jpvt), Then I need an array A.&lt;/P&gt;
&lt;P&gt;However I want tp call geqp3 frequently. In each call the array size may be slightly different. I know that if at each time, I allocate&amp;nbsp;the memory for A and jpvt,&amp;nbsp;and&amp;nbsp;call geqp3 and then deallocate A and jpvt, it works. However the speed becomes slow. Especially when using open MP to parallelize this program, the CPU used is only 30%&amp;nbsp;if the number&amp;nbsp;of threads are set to 32 (my server has 16 cores and&amp;nbsp;32 threads).&lt;/P&gt;
&lt;P&gt;Is there any simple tip to solve this problem. Thank you very much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 11:45:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927616#M13473</guid>
      <dc:creator>Haogang_W_</dc:creator>
      <dc:date>2013-06-20T11:45:06Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927617#M13474</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Memory allocation/free is the sequential operations. If it is called in the multiple threadings, it may create some bottleneck there.&lt;BR /&gt;I am not sure I learn your problem: if the size for A/JPVT is very similar in your case, why not you just allocate once for each theading?&amp;nbsp; It can allocate the size enough for the largest problem. You can reuse this buffer, and does not allocate/free them each time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 02:57:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927617#M13474</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-06-24T02:57:52Z</dc:date>
    </item>
    <item>
      <title>Dear Chao: Thank you for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927618#M13475</link>
      <description>&lt;P&gt;Dear Chao: Thank you for your reply! I also tried this but failed. One method is using fortran 77. But I encountered the problem similar to the one listed in the poster "MKL ERROR: Parameter 1 was incorrect on entry to cgelsy." I think they may caused by the same reason. Hence, I'm now focuse on the latter one. Please also help see what is the reason for the latter problem as postered in "MKL ERROR: Parameter 1 was incorrect on entry to cgelsy." Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 07:39:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927618#M13475</guid>
      <dc:creator>Haogang_W_</dc:creator>
      <dc:date>2013-06-24T07:39:01Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927619#M13476</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This error could be caused by the invalid input data. You can have double check in the manual on the requirement of this function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, do you have some test code that show this problem? That also be helpful to root the problem.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 08:35:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927619#M13476</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-06-24T08:35:45Z</dc:date>
    </item>
    <item>
      <title>Dear Chao,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927620#M13477</link>
      <description>&lt;P&gt;Dear Chao,&lt;/P&gt;
&lt;P&gt;Yes. my code is also uploaded in the poster&amp;nbsp;"MKL ERROR: Parameter 1 was incorrect on entry to cgelsy." &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 08:49:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927620#M13477</guid>
      <dc:creator>Haogang_W_</dc:creator>
      <dc:date>2013-06-24T08:49:16Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927621#M13478</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is it Windows, or Linux, ia32 code, or Intel 64?&amp;nbsp;&amp;nbsp; I just run your code with ia32 windows. It did&amp;nbsp;not report any error. The library I linked: mkl_intel_c.lib&amp;nbsp; mkl_sequential.lib&amp;nbsp; mkl_core.lib&lt;/P&gt;
&lt;P&gt;since you already have high level threading, I linked with sequential MKL libraries.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 02:57:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927621#M13478</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-06-25T02:57:36Z</dc:date>
    </item>
    <item>
      <title>Dear Chao,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927622#M13479</link>
      <description>&lt;P&gt;Dear Chao,&lt;/P&gt;
&lt;P&gt;Thank you very much! I just follow your steps and it works. I use mkl_sequential.lib&amp;nbsp; mkl_core.lib and set the link with sequential MKL libraries. Then it works. Now, I use the results generated by the&amp;nbsp;Intel® Math Kernel Library Link Line Advisor. It also works now. The link is also set as sequential MKL libraries.&lt;/P&gt;
&lt;P&gt;HG&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 11:00:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-call-a-mkl-subroutine-frequently-without-changing-the/m-p/927622#M13479</guid>
      <dc:creator>Haogang_W_</dc:creator>
      <dc:date>2013-07-01T11:00:17Z</dc:date>
    </item>
  </channel>
</rss>

