FFTW is a heavily-optimized piece of software that is likely to push
compilers to their limits. We had no problems with
gcc 2.7.2
, Sun's C compiler SC4.0
, IBM's XLC
compiler for AIX, Metrowerks' compilers for the Macintosh, and SGI's
compilers for IRIX 6.2. Users have also reported successful
compilations of FFTW using Borland's C/C++ compilers on Windows.
Sun's SC4.0
C compiler produces incorrect code for the test
program when -xO5
is enabled. You must use -xO2
. In the test program, we compare results against
Singleton's venerable FFT program (translated from Fortran to C by
f2c
). Sun's compiler works fine with FFTW, but produces
wrong code for Singleton's program. [In an unbelievable conspiracy of
events, Sun's Fortran compiler also produces the same incorrect code for the original version.]
Visual C++ 4.0 crashes when compiling FFTW with all optimizations turned on.
wisdom
mechanism for saving plans. See Q3.3 `What is this wisdom
thing?' and the FFTW manual.
genfft
, written in the Caml Light dialect of ML. You do not need to know ML or to
have a Caml Light compiler in order to use FFTW.
genfft
is provided with the FFTW sources, which means that
you can play with the code generator if you want. In this case, you
need a working Caml Light system. Caml Light is available from
ftp.inria.fr
in the directory /lang/caml-light
.
Matteo Frigo and Steven G. Johnson / fftw@theory.lcs.mit.edu - 08 September 1997