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 the example list files are located in the .\examples\fftw2x_cdft subdirectory in the Intel MKL directory. To build examples, one additional file 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 wrapper library makefile parameters (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(...) |
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.