FFTPACK

Description

FFTPACK is a package of Fortran subprograms for the fast Fourier transform (FFT) of periodic and other symmetric sequences. It includes the complex, real, sine, cosine, and quarter-wave transforms listed below.

Transform Description
rffti Initialization of rfftf and rfftb
rfftf Forward transform of a real periodic sequence
rfftb Backward transform of a real coefficient array
sinti Initialization of sint
sint Sine transform of a real odd sequence
costi Initialization if cost
cost Cosine transform of a real even sequence
sinqi Initialization of sinqf and sinqb
sinqf Forward sine transform with odd wave numbers
sinqb Unnormalized inverse of sinqf
cosqi Initialization of cosqf and cosqb
cosqf Forward cosine transform with odd wave numbers
cosqb Unnormalized inverse of cosqf
cffti Initialization of cfftf and cfftb
cfftf Forward transform of a complex periodic sequence
cfftb Unnormalized inverse of cfftf

For more information, see the FFTPACK home page.

Use


Jaguar
On Jaguar, the default FFTPACK libraries, libfftpack.a and libdfftpack.a, are located in /apps/jaguar/lib.
The following example shows how to compile and link your program to the single precision FFTPACK library.

ftn -o test.x test.f -L/apps/jaguar/lib -lfftpack

Phoenix
On Phoenix, the default FFTPACK libraries, libfftpack.a and libdfftpack.a, are located in /apps/FFTPACK/prod/x1_mp2/lib.
The following example (FFTPACKtest.f) can be used to compile and link your program to the FFTPACK library.

ftn -o test.x test.f -L/apps/FFTPACK/prod/x1_mp2/lib -lfftpack