Visible to Intel only — GUID: GUID-3437B591-0C4C-4DA7-9F00-96B9FEA84F3E
Visible to Intel only — GUID: GUID-3437B591-0C4C-4DA7-9F00-96B9FEA84F3E
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® oneAPI Math Kernel Library (oneMKL) directory.
To build the wrappers,
Change the current directory to the wrapper directory
Run the make command on Linux* OS or the nmake command on Windows* OS with a required target and optionally several parameters.
In the following example, the make command is used to build the MPI FFTW wrappers to Intel® oneAPI Math Kernel Library (oneMKL) 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.