Running MPI FFTW2 Wrapper Examples
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
directory. To build examples, one additional file
.\examples\fftw2x_cdft
subdirectory in the Intel® oneAPI Math Kernel Library
fftw_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
|
---|---|
One-dimensional Complex MPI FFTW transform,
using
plan =
fftw_mpi_create_plan(...) | |
Two-dimensional Complex MPI FFTW transform,
using
plan =
fftw2d_mpi_create_plan(...) | |
Three-dimensional Complex MPI FFTW transform,
using
plan =
fftw3d_mpi_create_plan(...) | |
Four-dimensional Complex MPI FFTW transform,
using
plan =
fftwnd_mpi_create_plan(...) | |
One-dimensional Real MPI FFTW transform, using
plan =
rfftw_mpi_create_plan(...) | |
Two-dimensional Real MPI FFTW transform, using
plan =
rfftw2d_mpi_create_plan(...) | |
Three-dimensional Real MPI FFTW transform,
using
plan =
rfftw3d_mpi_create_plan(...) | |
Four-dimensional Real MPI FFTW transform, using
plan =
rfftwnd_mpi_create_plan(...) |