<?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 Chao - Thank you for the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946785#M14945</link>
    <description>&lt;P&gt;Chao - Thank you for the suggestion, sorry for my delay in responding, I am waiting for my sys admin to update our MKL install to 11.0 update 2 or 3 (we need explicit approval before updating software). &amp;nbsp;As soon as he does that I'll verify if the bug still occurs.&lt;/P&gt;
&lt;P&gt;Sergey - I will check OMP_STACKSIZE tomorrow as well.&lt;/P&gt;
&lt;P&gt;iliyapolak - Unfortunately posting the full backtrace is difficult since I don't have network access to the server I'm running on (which is at my office) and I don't have an easy way to move an electronic copy of the backtrace out of the office. &amp;nbsp;If updating MKL does not resolve the issue I'll try and post a full backtrace.&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2013 20:29:37 GMT</pubDate>
    <dc:creator>nicpac22</dc:creator>
    <dc:date>2013-05-06T20:29:37Z</dc:date>
    <item>
      <title>Segfault when using threaded 1D DFT on AVX platforms</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946780#M14940</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've recently ported some code to a 64-bit CentOS 6 server that supports AVX instructions and I think I have encountered a bug with the MKL DFT routines when threading is enabled. &amp;nbsp;When I try to take a 80640 point complex 1D forward DFT, I get a segfault if I set mkl_set_num_threads to any number greater than 1, yet the code works fine if I set mkl_set_num_threads(1). &amp;nbsp;Not sure if this has been documented or encountered by others, but for me it seems to be limited to my 64-bit AVX platform as when I compile on a 64-bit SSE4.2 platform, the code runs fine with no segfault. &amp;nbsp;I've attached the test code that I've been running to debug. &amp;nbsp;For reference, I am compiling with:&lt;/P&gt;
&lt;P&gt;icpc -O3 -xHost test.cpp -openmp -liomp5 -lpthread -lm -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread&lt;/P&gt;
&lt;P&gt;Here are my system stats:&lt;/P&gt;
&lt;P&gt;Compiler: intel compserXE 2013.0.79 (MKL v11.0)&lt;/P&gt;
&lt;P&gt;OS: 64-bit Linux CentOS 6.4&lt;/P&gt;
&lt;P&gt;CPU: Xeon E5-2690@2.9GHz&lt;/P&gt;
&lt;P&gt;Also, when I run the core dump through gdb, I get the following back-trace:&lt;/P&gt;
&lt;P&gt;mkl_dft_avx_xc_4step_1_2 ()&lt;/P&gt;
&lt;P&gt;step1234 ()&lt;/P&gt;
&lt;P&gt;ttl_parallel_team ()&lt;/P&gt;
&lt;P&gt;L_kmp_invoke_pass_parms ()&lt;/P&gt;
&lt;P&gt;Is this a bug or am I just doing something wrong with my DFT?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 22:33:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946780#M14940</guid>
      <dc:creator>nicpac22</dc:creator>
      <dc:date>2013-05-01T22:33:10Z</dc:date>
    </item>
    <item>
      <title> Hi Nick,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946781#M14941</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Nick,&lt;/P&gt;
&lt;P&gt;Could you have a check with the latest the MKL 11.0.3 release, and see if there is any problem?&amp;nbsp; We noticed one bug in&amp;nbsp;the old MKL 11.0 release on the AVX threading code on some problem sizes, and it was already fixed since MKL 11.0 update 2.&amp;nbsp;&amp;nbsp; Please suggest if you still any problem with the new release.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2013 02:35:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946781#M14941</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-05-02T02:35:16Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...When I try to take a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946782#M14942</link>
      <description>&amp;gt;&amp;gt;...When I try to take a 80640 point complex 1D forward DFT, I get a segfault if I set mkl_set_num_threads to any number
&amp;gt;&amp;gt;greater than 1...

Could you verify what value is set for &lt;STRONG&gt;OMP_STACKSIZE&lt;/STRONG&gt; environment variable?</description>
      <pubDate>Thu, 02 May 2013 14:07:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946782#M14942</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-02T14:07:27Z</dc:date>
    </item>
    <item>
      <title>Can you post full backtrace</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946783#M14943</link>
      <description>&lt;P&gt;Can you post full backtrace and register context?&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2013 07:50:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946783#M14943</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-05-05T07:50:52Z</dc:date>
    </item>
    <item>
      <title>[tim@tim-cp net]$ ./a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946784#M14944</link>
      <description>&lt;P&gt;[tim@tim-cp net]$ ./a.out&lt;BR /&gt;40381.5 40260.9&lt;/P&gt;
&lt;P&gt;With either of the 2 most recent compiler/MKL releases&lt;/P&gt;
&lt;P&gt;cpu family&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6&lt;BR /&gt;model&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 62&lt;BR /&gt;model name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Genuine Intel(R) CPU&amp;nbsp; @ 2.50GHz&lt;BR /&gt;stepping&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/P&gt;
&lt;P&gt;(HT disabled)&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2013 11:47:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946784#M14944</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-05-05T11:47:19Z</dc:date>
    </item>
    <item>
      <title>Chao - Thank you for the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946785#M14945</link>
      <description>&lt;P&gt;Chao - Thank you for the suggestion, sorry for my delay in responding, I am waiting for my sys admin to update our MKL install to 11.0 update 2 or 3 (we need explicit approval before updating software). &amp;nbsp;As soon as he does that I'll verify if the bug still occurs.&lt;/P&gt;
&lt;P&gt;Sergey - I will check OMP_STACKSIZE tomorrow as well.&lt;/P&gt;
&lt;P&gt;iliyapolak - Unfortunately posting the full backtrace is difficult since I don't have network access to the server I'm running on (which is at my office) and I don't have an easy way to move an electronic copy of the backtrace out of the office. &amp;nbsp;If updating MKL does not resolve the issue I'll try and post a full backtrace.&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2013 20:29:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946785#M14945</guid>
      <dc:creator>nicpac22</dc:creator>
      <dc:date>2013-05-06T20:29:37Z</dc:date>
    </item>
    <item>
      <title>Nick,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946786#M14946</link>
      <description>&lt;P&gt;Nick,&lt;/P&gt;
&lt;P&gt;Hope you got some chace to check the new release, feel free to update here for any progress.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2013 05:24:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946786#M14946</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2013-05-27T05:24:40Z</dc:date>
    </item>
    <item>
      <title>Chao,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946787#M14947</link>
      <description>&lt;P&gt;Chao,&lt;/P&gt;
&lt;P&gt;Very sorry for the delayed response, my sys admin just installed MKL 11 update 3 on friday (we have a lengthy software approval process). &amp;nbsp;I can confirm that upgrading to update 3 has fixed the problem, I am no longer able to reproduce the segfault regardless of threading or DFT size. &amp;nbsp;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2013 22:19:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946787#M14947</guid>
      <dc:creator>nicpac22</dc:creator>
      <dc:date>2013-06-09T22:19:43Z</dc:date>
    </item>
    <item>
      <title>@Nick</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946788#M14948</link>
      <description>&lt;P&gt;@Nick&lt;/P&gt;
&lt;P&gt;Sorry for late response&lt;/P&gt;
&lt;P&gt;.I am glad that problem was solved:)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 10:15:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segfault-when-using-threaded-1D-DFT-on-AVX-platforms/m-p/946788#M14948</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-06-18T10:15:04Z</dc:date>
    </item>
  </channel>
</rss>

