Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 7/13/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 FFTW3 Interface Wrapper Examples

There are some examples that demonstrate how to use the wrapper library. The source code for the examples, makefiles used to run them, and files with lists of examples are located in the .\examples\fftw3xf subdirectory in the Intel® oneAPI Math Kernel Library (oneMKL) directory. To build Fortran examples, one additional file fftw3.f is needed. This file is distributed with permission from FFTW and is available in the .\include\fftwsubdirectory of the Intel® oneAPI Math Kernel Library (oneMKL) directory. The original file can also be found in FFTW 3.3.4 at http://www.fftw.org/download.html.

Parameters of the example makefiles are similar to the parameters of the wrapper library makefiles. Example makefiles normally build and invoke the examples. If the parameter function=<example_name> is defined, then only the specified example will run. Otherwise, all examples will be executed. Results of running the examples are saved in subdirectory .\_results in files with extension .res.

For detailed information about options for the example makefile, refer to the makefile.