Developer Reference


Building Your Own FFTW3 Interface Wrapper Library

The FFTW3 wrappers to
Intel® oneAPI Math Kernel Library
are delivered both integrated in
Intel® oneAPI Math Kernel Library
and as source code, which can be compiled to build a standalone wrapper library with exactly the same functionality. Normally you do not need to build the wrappers yourself.
The source code for the wrappers, makefiles, and files with lists of functions are located in the
subdirectory in the
Intel® oneAPI Math Kernel Library
To build the wrappers,
  1. Change the current directory to the wrapper directory
  2. Run the
    command on Linux* OS and macOS* or the
    command on Windows* OS with a required target and optionally several parameters.
The target
defines the platform architecture, and the other parameters specify the compiler, size of the default integer type, and placement of the resulting wrapper library. You can find a detailed and up-to-date description of the parameters in the makefile.
In the following example, the
command is used to build the FFTW3 C wrappers to
Intel® oneAPI Math Kernel Library
for use from the GNU gcc* compiler on Linux OS based on Intel® 64 architecture:
cd interfaces/fftw3xc make libintel64 compiler=gnu INSTALL_DIR=/my/path  
This command builds the wrapper library and places the result, named
, into the
directory. The name of the resulting library is composed of the name of the compiler used and may be changed by an optional parameter

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at