- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to run "dft-basic_sp_complex_dft_1d" C example provided by Intel, and it crashes silently during call to DftiCommitDescriptor().
Details:
- OneMKL v2022.2.0.9563 (offline installer) w_onemkl_p_2022.2.0.9563_offline.exe
- Windows 10 Enteprise 10.0.19044 Build 19044
- CPU: Intel i7-9850H @2.6GHz
- Visual Studio 2019 Pro, v16.7.2
Replication:
- 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
- open VS2019 command prompt (make sure cmake for windows is installed already)
- mkdir build && cd build
- cmake .. -DCMAKE_C_COMPILER=cl -DTARGET_DEVICES=cpu -DCMAKE_BUILD_TYPE=Release
- cmake --build . --verbose
It will build all examples….whatever….not in Release but in Debug folder
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" the following:
- mkl_intel_thread.2.dll
- mkl_core.2.dll
- mkl_def.2.dll
- mkl_avx2.2.dll
Now run dft-basic_sp_complex_dft_1d.exe and watch it spectacularly crash (silently) half-way through application, during DftiCommitDescriptor() call:
Intel(R) oneAPI Math Kernel Library Version 2022.2-Product Build 20220804 for Intel(R) 64 architecture applications
Example basic_sp_complex_dft_1d
Forward and backward single-precision complex in-place 1D FFTs
Configuration parameters:
DFTI_PRECISION = DFTI_SINGLE
DFTI_FORWARD_DOMAIN = DFTI_COMPLEX
DFTI_DIMENSION = 1
DFTI_LENGTHS = {7}
Create DFTI descriptor
Commit DFTI descriptor
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Derek,
Thanks for reaching out to us.
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?
I tried running the examples from the Intel command prompt and here is the screenshot of the output of dft examlple.
Regards,
Vidya.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Derek,
Thanks for reaching out to us.
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?
I tried running the examples from the Intel command prompt and here is the screenshot of the output of dft examlple.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vidya,
Thank you for reply - it seems to run OK from IntelOne API cmd for VS2019 x64
I will need to check runtime dependencies from that environment vs dependencies in "deployment"
Regards,
Derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Derek,
Thanks for accepting the solution.
Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.
Have a Nice Day!
Regards,
Vidya.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page