Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Running FFTW2 Interface Wrapper Examples

Intel® oneAPI Math Kernel Library (oneMKL) provides examples to demonstrate how to use the MPI FFTW wrapper library. The source code for the examples, makefiles used to run them, and files with lists of examples are located in the .\examples\fftw2xc subdirectory in the Intel® oneAPI Math Kernel Library (oneMKL) directory . To build examples, several additional files are needed: fftw.h, fftw_threads.h, rfftw.h, and rfftw_threads.h. These files are distributed with permission from FFTW and are available in .\include\fftw. The original files can also be found in FFTW 2.1.5 at http://www.fftw.org/download.html.

An example makefile uses the function parameter in addition to the parameters of the corresponding wrapper library makefile (see Creating a Wrapper Library). The makefile comment heading provides the exact description of these parameters.

An example makefile normally invokes examples. However, if the appropriate wrapper library is not yet created, the makefile first builds the library the same way as the wrapper library makefile does and then proceeds to examples.

If the parameter function=<example_name> is defined, only the specified example runs. Otherwise, all examples from the appropriate subdirectory run. The subdirectory .\_results is created, and the results are stored there in the <example_name>.res files.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201