Personal tools
You are here: Home UiT files-uit Math lib stuff FFTW

FFTW

by Tor Johansen last modified Feb 07, 2008 10:37 AM

FFTW - a C subroutine library for computing the discrete Fourier transform (DFT)


About FFTW.

The FFTW library is a portable and platform independent C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or DCT/DST). 

The installed version has been downloaded from the home page of the FFTW project.

There are also other DFT routines available on Stallo, in the Intel MKL library.

To learn more about FFTW pleas consult the home page of the FFTW project.


Using FFTW on Stallo:

First of all: as stated above, DFT routines are part of the Intel MKL library which usually should give you a better performance than other library's on Stallo. Please consult the Intel MKL section about using DFT with MKL.

FFTW is installed under /global/apps/fftw/:

/global/apps/fftw/fftw-<version-number>/lib/libfftw3.a
/global/apps/fftw/fftw-<version-number>/lib/libfftw3.la
/global/apps/fftw/fftw-<version-number>/lib/libfftw3_threads.a
/global/apps/fftw/fftw-<version-number>/lib/libfftw3_threads.la

To be able to use FFTW you must load the FFTW module on Stallo:

module load fftw

You must run this command before you try to link you application with this library.
And you may have to add this command after the PBS-stuff and before the executable stuff in your job script.

Document Actions