<?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: DftiCommitDescriptor() in C example provided by Intel crashes in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420015#M33743</link>
    <description>&lt;P&gt;Hi Derek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;Could you please try the same from Intel oneAPI command prompt (where the oneAPI environment is initialized automatically by the setvars.bat script file) and see if you still observe the crash?&lt;/P&gt;
&lt;P&gt;I tried running the examples from the Intel command prompt and here is the screenshot of the output of dft examlple.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VidyalathaB_Intel_0-1665069207082.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/33924i0D4422D83B541BD0/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="VidyalathaB_Intel_0-1665069207082.png" alt="VidyalathaB_Intel_0-1665069207082.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 15:13:55 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-10-06T15:13:55Z</dc:date>
    <item>
      <title>DftiCommitDescriptor() in C example provided by Intel crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1419660#M33737</link>
      <description>&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I'm trying to run "dft-basic_sp_complex_dft_1d" C example provided by Intel,&amp;nbsp; and it crashes silently during call to DftiCommitDescriptor().&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;U class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Details:&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- OneMKL v2022.2.0.9563&amp;nbsp; (offline installer) w_onemkl_p_2022.2.0.9563_offline.exe&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- Windows 10 Enteprise 10.0.19044 Build 19044&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- CPU: Intel i7-9850H&amp;nbsp;@2.6GHz&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- Visual Studio 2019 Pro, v16.7.2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Replication:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- Unzip "C:\Program Files (x86)\Intel\oneAPI\mkl\latest\examples\examples_core_c.zip" into "C:\Program Files (x86)\Intel\oneAPI\mkl\latest\examples\c" folder&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- open VS2019 command prompt (make sure cmake for windows is installed already)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;mkdir build &amp;amp;&amp;amp; cd build&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;cmake .. -DCMAKE_C_COMPILER=cl -DTARGET_DEVICES=cpu -DCMAKE_BUILD_TYPE=Release&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;cmake --build . --verbose&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;It will build all examples….whatever….not in Release but in Debug folder&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Obviously, the build fails bring runtime dependencies, so you need to copy from "C:\Program Files (x86)\Intel\oneAPI\mkl\latest\redist\intel64" to "C:\Program Files (x86)\Intel\oneAPI\mkl\latest\examples\c\build\Debug"&amp;nbsp; the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;-&amp;nbsp;mkl_intel_thread.2.dll&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- mkl_core.2.dll&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- mkl_def.2.dll&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;- mkl_avx2.2.dll&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Now run&amp;nbsp;dft-basic_sp_complex_dft_1d.exe and watch it spectacularly crash (silently) half-way through application, during&amp;nbsp;DftiCommitDescriptor() call:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Intel(R) oneAPI Math Kernel Library Version 2022.2-Product Build 20220804 for Intel(R) 64 architecture applications&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Example basic_sp_complex_dft_1d&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Forward and backward single-precision complex in-place 1D FFTs&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Configuration parameters:&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;DFTI_PRECISION = DFTI_SINGLE&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;DFTI_FORWARD_DOMAIN = DFTI_COMPLEX&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;DFTI_DIMENSION = 1&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;DFTI_LENGTHS = {7}&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Create DFTI descriptor&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Commit DFTI descriptor&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;I am beginning to have serious doubts if trying to use Intel MKL is a good idea, if their own examples simply do not work out of the box...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 10:33:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1419660#M33737</guid>
      <dc:creator>blackrock</dc:creator>
      <dc:date>2022-10-05T10:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: DftiCommitDescriptor() in C example provided by Intel crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420015#M33743</link>
      <description>&lt;P&gt;Hi Derek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;Could you please try the same from Intel oneAPI command prompt (where the oneAPI environment is initialized automatically by the setvars.bat script file) and see if you still observe the crash?&lt;/P&gt;
&lt;P&gt;I tried running the examples from the Intel command prompt and here is the screenshot of the output of dft examlple.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VidyalathaB_Intel_0-1665069207082.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/33924i0D4422D83B541BD0/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="VidyalathaB_Intel_0-1665069207082.png" alt="VidyalathaB_Intel_0-1665069207082.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:13:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420015#M33743</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-10-06T15:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: DftiCommitDescriptor() in C example provided by Intel crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420692#M33756</link>
      <description>&lt;P&gt;Hi Vidya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reply - it seems to run OK from IntelOne API cmd for VS2019 x64&lt;/P&gt;
&lt;P&gt;I will need to check runtime dependencies from that environment vs dependencies in "deployment"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Derek&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 09:17:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420692#M33756</guid>
      <dc:creator>blackrock</dc:creator>
      <dc:date>2022-10-10T09:17:47Z</dc:date>
    </item>
    <item>
      <title>Re:DftiCommitDescriptor() in C example provided by Intel crashes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420710#M33757</link>
      <description>&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting the solution.&lt;/P&gt;&lt;P&gt;Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Oct 2022 10:53:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-in-C-example-provided-by-Intel-crashes/m-p/1420710#M33757</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-10-10T10:53:03Z</dc:date>
    </item>
  </channel>
</rss>

