Creating MPI FFTW Wrapper Library

The source code for the wrappers, makefile, and wrapper list file 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.

The makefile parameters 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 Mac OS* X or the nmake command on Windows* OS with appropriate parameters.

For example, the command

make libintel64

builds on Linux OS a double-precision wrapper library for Intel® 64 architecture based applications using Intel MPI 2.0 and the Intel® C++ Compiler version 9.1 or higher (compilers and data precision are chosen by default.).

The 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.


Submit feedback on this help topic