FFTW
FFTW is a C subroutine library for computing the Discrete Fourier Transform in one or more dimensions, of both real and complex data, of arbitrary input size.
FFTW is free software as defined by the Free Software Foundation and is distributed under the terms of the GNU General Public License. It is callable from Fortran, and works on any platform with a C compiler.
FFTW was developed at MIT by Matteo Frigo and Steven G. Johnson.
Please note: FFTW version 3 is not compatible with version 2, but versions 3.1.1 and 3.0.1 are compatible.
Installed on : Pople, Salk, and Warhol.
Pople/Salk version 3.2, 2.1.5
To use FFTW, prepare a batch job containing commands to do the following:
- Set up the module command.
- Load the appropriate module:
module load fftw or module load fftw/2.1.5 for version 2.1.5 module load fftw3 or module load fftw3/3.2alpha2 for version 3.2
- Compile with a command like:
ifort -o prog -I${FFTW_INC} prog.f -L${FFTW_LIB} -lfftw3This uses the double precision v.3 library. Single and double precision libraries are available for both versions 2 and 3.
Submit the job with the qsub command.
Also see the example jobs.
Warhol usage
- Load the fftw3 module:
module load fftw3
- To use the intel compilers, load the appropriate module.
module load ifort
- Compile with a command like:
ifort -o prog -I${FFTW_INC} prog.F -L${FFTW_LIB} -lfftw3 - Create a job file to run the executable
Submit the job with the qsub command.
Also see the example jobs.
See also:
- FFTW documentation: