fftw-3.3.6-pl2

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.1 platform.

Package Information

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

Installed Programs: fftw-wisdom and fftw-wisdom-to-conf
Installed Library: libfftw3.so and libfftw3_threads.so, or libfftw3f.so and libfftw3f_threads.so
Installed Directories: None

Short Descriptions

fftw-wisdom

is a utility to generate FFTW wisdom files, which contain saved information about how to optimally compute (Fourier) transforms of various sizes.

fftw-wisdom-to-conf

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.

libfftw3.so

is the Fast Fourier Transform library

libfftw3_threads.so

is the threaded Fast Fourier Transform library

libfftw3f.so

is the floating-point Fast Fourier Transform library

libfftw3f_threads.so

is the threaded floating-point Fast Fourier Transform library

Last updated on 2017-08-23 14:11:26 -0500