- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I have trouble with the fftw implemented in MKL. I have written a small code (attached)... Using gnu libfftw3 gives the right answer (mainly the output array is zero but for one coefficient).
However when linking with mkl, I do get a different (and probably false) result where all the array is filled.
Any hint would be welcomed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
thanks for the answer. It seems that, indeed, the problem lies with the use of FFTW_R2HC. However that is really the kind of transform I need, so I guess I have to use the gnu fftw version and not MKL.
Regards
Philippe
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>>I have trouble with the fftw implemented in MKL.when linking with mkl, I do get a different (and probably false) result where all the array is filled.
From the code which you have attached we observed that the kind value is FFTW_R2HC.
As per the documentation, there are some known limitations of FFTW3 wrappers and their usage in Intel oneAPI MKL. The only supported r2r kind values are even/odd DFTs (sine/cosine transforms).
Please refer the following link for details regarding usage of fft wrappers
So we suggest you to try with the supported kind value while implementing with mkl and see if it works.
You can also refer fftw examples which are installed in oneAPI directory under mkl folder.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
thanks for the answer. It seems that, indeed, the problem lies with the use of FFTW_R2HC. However that is really the kind of transform I need, so I guess I have to use the gnu fftw version and not MKL.
Regards
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Philippe,
You may also try to submit this Feature Request to the Intel Online Service Center against the MKL FFT team. They collect such FR for future consideration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved.
As the issue is resolved we will no longer monitor this thread. Please post a new question if you need any additional assistance from intel.
Have a good 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