Developer Reference

Contents

Building Your Own Wrapper Library

The MPI FFTW wrappers for FFTW3 are delivered as source code, which can be compiled to build a wrapper library.
The source code for the wrappers, makefiles, and files with lists of functions are located in subdirectory
.\interfaces fftw3x_cdft
in the
Intel® MKL
directory.
To build the wrappers,
  1. Change the current directory to the wrapper directory
  2. Run the
    make
    command on Linux* OS or the
    nmake
    command on Windows* OS with a required target and optionally several parameters.
The target
libia32
or
libintel64
defines the platform architecture, and the other parameters specify the compiler, size of the default
INTEGER
type, as well as the name and placement of the resulting wrapper library. You can find a detailed and up-to-date description of the parameters in the makefile.
In the following example, the
make
command is used to build the MPI FFTW wrappers to
Intel® MKL
for use from the GNU C compiler on Linux OS based on Intel® 64 architecture:
cd interfaces/fftw3x_cdft make libintel64 compiler=gnu mpi=openmpi INSTALL_DIR=/my/path  
This command builds the wrapper library using the GNU gcc compiler so that the final executable can use Open MPI, and places the result, named
libfftw3x_cdft_DOUBLE.a
, into directory
/my/path
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804