<?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 Please post the size of data, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997422#M18346</link>
    <description>&lt;P&gt;Please post the size of data, the compile line, the link line, and the MKL version that you use.&lt;/P&gt;

&lt;P&gt;You may check the link line for correctness using Intel MKL Link Line Advisor &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2015 09:39:47 GMT</pubDate>
    <dc:creator>Evgueni_P_Intel</dc:creator>
    <dc:date>2015-02-04T09:39:47Z</dc:date>
    <item>
      <title>RHEL 6 crash on using mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997419#M18343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I m trying to use mkl for fft calcs and here is the snippet I m using in my code:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&lt;FONT color="#0000ff"&gt;void&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&lt;FONT color="#216f85"&gt;std::vector&amp;lt;std::complex&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 1em; line-height: 1.5; color: rgb(136, 0, 0);"&gt;process&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 1em; line-height: 1.5; color: blue;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 1em; line-height: 1.5; color: rgb(33, 111, 133);"&gt;std::vector&amp;lt;double&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 1em; line-height: 1.5; color: navy;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE style="font-family: Consolas; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"&gt;&lt;FONT color="#000000"&gt;{
	&lt;/FONT&gt;&lt;SPAN style="color: rgb(33, 111, 133);"&gt;DFTI_DESCRIPTOR_HANDLE&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;=&amp;nbsp;0;
 
&lt;/FONT&gt;&lt;FONT color="#216f85"&gt;std::vector&amp;lt;std::complex&amp;gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;result&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;;
 
&lt;/FONT&gt;&lt;SPAN style="color: rgb(33, 111, 133); font-style: italic;"&gt;size_t&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;input_data_size&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;=&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;data&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;.&lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0); font-style: italic;"&gt;size&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;();
 
int status = &lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DftiCreateDescriptor&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&amp;amp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DFTI_DOUBLE&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DFTI_REAL&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;1,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: blue;"&gt;static_cast&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;lt;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;MKL_LONG&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;gt;(&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;input_data_size&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;)&amp;nbsp;);
status = &lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0);"&gt;DftiSetValue&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DFTI_PLACEMENT&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DFTI_NOT_INPLACE&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;);
status &lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0);"&gt;DftiSetValue&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DFTI_CONJUGATE_EVEN_STORAGE&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: rgb(111, 0, 138);"&gt;DFTI_COMPLEX_COMPLEX&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;);
status = &lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0);"&gt;DftiCommitDescriptor&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;);
 
	&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;result&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;.&lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0); font-style: italic;"&gt;resize&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;input_data_size&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;);
 
status = &lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0);"&gt;DftiComputeForward&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: blue;"&gt;const_cast&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;lt;&lt;/FONT&gt;&lt;SPAN style="color: blue;"&gt;double&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;*&amp;gt;(&amp;amp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;data&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;[0]),&amp;nbsp;&amp;amp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;result&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;[0]&amp;nbsp;);
 
&lt;/FONT&gt;&lt;FONT color="#000000"&gt;status = 	&lt;/FONT&gt;&lt;SPAN style="color: rgb(136, 0, 0);"&gt;DftiFreeDescriptor&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;(&amp;nbsp;&amp;amp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;hand&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;);
 
	&lt;/FONT&gt;&lt;SPAN style="color: blue;"&gt;return&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: navy;"&gt;result&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;;
}
&lt;/FONT&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;FONT color="#000000"&gt;this function is called n times and it usually crash in the call to DftiCreateDescripter after few iterations.&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#000000"&gt;Any help will be appreciated&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 15:36:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997419#M18343</guid>
      <dc:creator>Sam_Z_</dc:creator>
      <dc:date>2015-02-03T15:36:22Z</dc:date>
    </item>
    <item>
      <title>Hi Sam Z.!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997420#M18344</link>
      <description>&lt;P&gt;Hi Sam Z.!&lt;/P&gt;

&lt;P&gt;Your code looks&amp;nbsp;correct and should run fine if we add &amp;lt;double&amp;gt; after std::complex.&lt;/P&gt;

&lt;P&gt;If it does not, please post here, or send privately,&amp;nbsp;or submit via&amp;nbsp;premier.intel.com&amp;nbsp;a complete reproducer for the issue.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;Evgueni.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 17:18:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997420#M18344</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2015-02-03T17:18:43Z</dc:date>
    </item>
    <item>
      <title>thanks Evqueni it was just a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997421#M18345</link>
      <description>&lt;P&gt;thanks Evqueni it was just a typo in the post.&lt;/P&gt;

&lt;P&gt;I get a double free() failure. it seems that there is an issue inside the call to&amp;nbsp;&lt;SPAN style="color: rgb(96, 96, 96); font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;DftiCreateDescriptor&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 08:02:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997421#M18345</guid>
      <dc:creator>Sam_Z_</dc:creator>
      <dc:date>2015-02-04T08:02:05Z</dc:date>
    </item>
    <item>
      <title>Please post the size of data,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997422#M18346</link>
      <description>&lt;P&gt;Please post the size of data, the compile line, the link line, and the MKL version that you use.&lt;/P&gt;

&lt;P&gt;You may check the link line for correctness using Intel MKL Link Line Advisor &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 09:39:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/RHEL-6-crash-on-using-mkl/m-p/997422#M18346</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2015-02-04T09:39:47Z</dc:date>
    </item>
  </channel>
</rss>

