Intel® oneAPI Math Kernel Library Developer Reference - C
There are some examples that demonstrate how to use the MPI FFTW wrapper library for FFTW2. The source C code for the examples, makefiles used to run them, and files with lists of examples are located in the .\examples\fftw2x_cdftsubdirectory in the Intel® oneAPI Math Kernel Library directory. To build examples, one additional filefftw_mpi.h is needed. This file is distributed with permission from FFTW and is available in .\include\fftw. The original file can also be found in FFTW 2.1.5 at http://www.fftw.org/download.html.
Parameters for the example makefiles are described in the makefile comment headings and are similar to the parameters of the wrapper library makefiles (see Creating MPI FFTW Wrapper Library).
The table below lists examples available in the .\examples\fftw2x_cdft\source subdirectory.
Source file for the example | Description |
---|---|
wrappers_c1d.c |
One-dimensional Complex MPI FFTW transform, using plan = fftw_mpi_create_plan(...) |
wrappers_c2d.c |
Two-dimensional Complex MPI FFTW transform, using plan = fftw2d_mpi_create_plan(...) |
wrappers_c3d.c |
Three-dimensional Complex MPI FFTW transform, using plan = fftw3d_mpi_create_plan(...) |
wrappers_c4d.c |
Four-dimensional Complex MPI FFTW transform, using plan = fftwnd_mpi_create_plan(...) |
wrappers_r1d.c |
One-dimensional Real MPI FFTW transform, using plan = rfftw_mpi_create_plan(...) |
wrappers_r2d.c |
Two-dimensional Real MPI FFTW transform, using plan = rfftw2d_mpi_create_plan(...) |
wrappers_r3d.c |
Three-dimensional Real MPI FFTW transform, using plan = rfftw3d_mpi_create_plan(...) |
wrappers_r4d.c |
Four-dimensional Real MPI FFTW transform, using plan = rfftwnd_mpi_create_plan(...) |