Intel MKL provides examples to demonstrate how to use the MPI FFTW wrapper library. The source code for the examples, makefiles used to run them, and the example list files are located in the .\examples\fftw2xc and .\examples\fftw2xf subdirectories in the Intel MKL directory for C and Fortran, respectively. To build examples, several additional files are needed: fftw.h, fftw_threads.h, rfftw.h, rfftw_threads.h, and fftw_f77.I. 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 that the respective wrapper library makefile uses (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.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.