Difference between revisions of "FFTW"

From CBLFS
Jump to navigationJump to search
(Added documentation.)
Line 4: Line 4:
 
| ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz
 
| ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz
 
|}
 
|}
 +
 +
== Introduction to FFTW ==
  
 
FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions.  The name, "FFTW," stands for "Fastest Fourier Transform in the West."  FFTW was developed at MIT, which is in the east.
 
FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions.  The name, "FFTW," stands for "Fastest Fourier Transform in the West."  FFTW was developed at MIT, which is in the east.
Line 63: Line 65:
  
 
  make install
 
  make install
 +
 +
== Documentation ==
 +
 +
Build and install the info pages for FFTW:
 +
 +
  make install-info
 +
 +
Install the PDF documentation for FFTW:
 +
 +
  install -v -m755 -d /usr/share/doc/FFTW-3.1.2 &&
 +
  cp -v doc/fftw3.pdf /usr/share/doc/FFTW-3.1.2
 +
 +
Install the html documentation for FFTW:
 +
 +
  install -v -m755 -d /usr/share/doc/FFTW-3.1.2/html &&
 +
  cp -v doc/html/*.html /usr/share/doc/FFTW-3.1.2/html
  
 
== Contents ==
 
== Contents ==

Revision as of 20:25, 13 December 2006

Download Source: ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz

Introduction to FFTW

FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions. The name, "FFTW," stands for "Fastest Fourier Transform in the West." FFTW was developed at MIT, which is in the east.

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

There are several options that can be passed to the configure script to optimize the resulting build. Execute ./configure --help to see these additional options.

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
./configure --prefix=/usr --enable-shared &&
make

There are several options that can be passed to the configure script to optimize the resulting build. Execute ./configure --help to see these additional options.

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
./configure --prefix=/usr --libdir=/usr/lib32 --enable-shared &&
make

There are several options that can be passed to the configure script to optimize the resulting build. Execute ./configure --help to see these additional options.

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
./configure --prefix=/usr --libdir=/usr/lib64 --enable-shared &&
make

There are several options that can be passed to the configure script to optimize the resulting build. Execute ./configure --help to see these additional options.

Install the package:

make install

Documentation

Build and install the info pages for FFTW:

 make install-info

Install the PDF documentation for FFTW:

 install -v -m755 -d /usr/share/doc/FFTW-3.1.2 &&
 cp -v doc/fftw3.pdf /usr/share/doc/FFTW-3.1.2

Install the html documentation for FFTW:

 install -v -m755 -d /usr/share/doc/FFTW-3.1.2/html &&
 cp -v doc/html/*.html /usr/share/doc/FFTW-3.1.2/html

Contents

  • Installed Programs: /usr/bin/fftw-wisdom, /usr/bin/fftw-wisdom-to-conf
  • Installed Libraries: /usr/lib/libfftw3.{la,a}

Short Description

  • fftw-wisdom: Creates wisdom (pre-planned/optimized transforms) for specified sizes, writing wisdom to stdout or file.
  • fftw-wisdom-to-conf: Converts wisdom (stdin) to C configuration routine (stdout).
Retrieved from "?title=FFTW&oldid=4597"