Creating MPI FFTW Wrapper Library

The source code for the wrappers, makefiles, and files with lists of wrappers are located in the .\interfaces\fftw2x_cdft subdirectory in the Intel MKL directory.

A wrapper library contains C wrappers for Complex One-dimensional MPI FFTW Transforms and Complex Multi-dimensional MPI FFTW Transforms. The library also contains empty C wrappers for Real Multi-dimensional MPI FFTW Transforms. For details, see MPI FFTW Wrappers Reference.

Parameters of a makefile specify the platform (required), compiler, and data precision. Specifying the platform is required. The makefile comment heading provides the exact description of these parameters.

To build the library, run the make command on Linux* OS and OS X* or the nmake command on Windows* OS with appropriate parameters.

For example, on Linux OS the command

make libintel64

builds a double-precision wrapper library for Intel® 64 architecture based applications using Intel MPI and the Intel® C++ Compiler (compilers and data precision are chosen by default.).

A makefile creates the wrapper library in the directory with the Intel MKL libraries corresponding to the used platform. For example, ./lib/ia32 (on Linux OS) or .\lib\ia32 (on Windows* OS).

In the wrapper library names, the suffix corresponds to the used data precision. For example,

fftw2x_cdft_SINGLE.lib on Windows OS;

libfftw2x_cdft_DOUBLE.a on Linux OS.

For more complete information about compiler optimizations, see our Optimization Notice.