Creating MPI FFTW2 Wrapper Library
The source code for the wrappers, makefiles, and files with lists of wrappers are located in the
directory.
.\interfaces\fftw2x_cdft
subdirectory in the
Intel® oneAPI Math Kernel Library
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 macOS* 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® oneAPI
(compilers and data precision are chosen by default.).
DPC++/C++
CompilerA makefile creates the wrapper library in the directory with the
libraries corresponding to the used platform. For example,
Intel® oneAPI Math Kernel Library
./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.