Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL 11.2u3 not compatible with FFTW3 (3.3.3)?

Mark_M_8
Beginner
561 Views

Our application uses fftw 3.3.3 (fftw3.h).  It has definitions for export_wisdom_to_filename and export_wisdom_from_filename.   I do not see these definitions in the fftw3.h in the mkl include/fftw header file.   Or anywhere in the distribution.   Using MKL 11.2 Update 3.   Does anyone know how to resolve this?   Optionally, does anyone know if the 11.3 Beta now is compatible with fftw3.3.3 and contains these definitions?

0 Kudos
5 Replies
Evgueni_P_Intel
Employee
561 Views

Hi Mark,

These APIs are missing from Intel MKL 11.2 and Intel MKL 11.3 beta, and are very likely to appear in Intel MKL 11.3 which is expected to support most of FFTW 3.3.4.

However, the Intel implemenation of FFTW3 does not rely on wisdom.

As a quick workaround, just add empty functions -- something like the code below.

int fftw_export_wisdom_to_filename(const char *filename) { return 0; }
int fftw_import_wisdom_from_filename(const char *filename) { return 0; }

Evgueni.

0 Kudos
Mark_M_8
Beginner
561 Views

Thank you Evgueni for the information (and quick response).  Unfortunately, our application does rely on wisdom files.   Is there a target release date for 11.3 to inform our customer of??  And I have to make a decision on whether it's worth the effort to "lift" the fftw implementation for what is missing, for now, since our customer wants mkl strictly.  

0 Kudos
Evgueni_P_Intel
Employee
561 Views

Intel does not announce product releases in advance.

Intel MKL 11.2 has been released in September 2014. You may expect Intel MKL 11.3 to appear around this time this year.

0 Kudos
Gennady_F_Intel
Moderator
561 Views

Mark, we will let you know when this release will happened.

 

0 Kudos
Evgueni_P_Intel
Employee
561 Views

To avoid possible confusion, here are the right expectations from FFTW wisdom support in Intel MKL 11.3.

  1. Intel MKL contains a pre-built implementation of FFTW3.
  2. Starting version 11.3, Intel MKL will contain the export_wisdom_to_filename and import_wisdom_from_filename functions to ensure that applications using FFTW 3.3.4 can be linked against Intel MKL.
  3. The export_wisdom_to_filename and import_wisdom_from_filename functions will be implemented in the trivial way -- see my post above to get an idea.

Along with the pre-built implementation of FFTW3, we also ship the source code implementing FFTW3 on top of Intel MKL.

You can adopt this implementation to output any sort of wisdom data to make your application work with Intel MKL.

For this customized implementation to override the pre-built implementation, just put your implementation in front of Intel MKL libraries.

0 Kudos
Reply