Visible to Intel only — GUID: GUID-B24A09A8-FEB0-4562-9A2D-6B78F484350B
Visible to Intel only — GUID: GUID-B24A09A8-FEB0-4562-9A2D-6B78F484350B
Creating MPI FFTW2 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® oneAPI Math Kernel Library (oneMKL) 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 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 DPC++/C++ Compiler (compilers and data precision are chosen by default.).
A makefile creates the wrapper library in the directory with the Intel® oneAPI Math Kernel Library (oneMKL) 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.