Introduction to fftw
FFTW is a 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).
This package is known to build and work properly using an LFS-8.3 platform.
Package Information
-
Download (HTTP): http://www.fftw.org/fftw-3.3.8.tar.gz
-
Download (FTP): ftp://ftp.fftw.org/pub/fftw/fftw-3.3.8.tar.gz
-
Download MD5 sum: 8aac833c943d8e90d51b697b27d4384d
-
Download size: 3.9 MB
-
Estimated disk space required: 57 MB (add 1 MB for tests)
-
Estimated build time: 0.3 SBU (using parallelism=4; add 1.9 SBU for tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fftw
Installation of fftw
Install fftw by running the following commands:
./configure --prefix=/usr --enable-shared --enable-threads && make
To test the results, issue: make check.
Now, as the root
user:
make install
Command Explanations
--enable-shared --disable-static: Use shared libs instead of static libs.
--enable-threads:
This enables libfftw3_threads.so
to
be compiled. It is used by e.g. the gimp plugin from G'MIC.
--enable-float
: This enables floating
point, and will cause the library to be called libfftw3f.so
(needed by RawTherapee (and similarly for
the threaded library if that is built (not needed by RawTherapee).
These versions are not usable by packages in this book which use
libfftw3
so if you need both you will
need to build fftw twice.
Contents
Short Descriptions
is a utility to generate FFTW wisdom files, which contain saved information about how to optimally compute (Fourier) transforms of various sizes. |
|
is a utility to generate C configuration routines from FFTW wisdom files, where the latter contain saved information about how to optimally compute (Fourier) transforms of various sizes. |
|
is the Fast Fourier Transform library |
|
is the threaded Fast Fourier Transform library |
|
is the floating-point Fast Fourier Transform library |
|
is the threaded floating-point Fast Fourier Transform library |
https://www.linuxfromscratch.org/blfs/view/8.3/general/fftw.html
Post a Comment