FFTW

From CBLFS
Revision as of 21:56, 11 November 2006 by Weibullguy (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz

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=/opt/gnu --enable-k7 –enable-sse2 &&
   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}" ./configure --prefix=/opt/scimath --libdir=/opt/scimath/lib \
   --enable-k7 –enable-sse2 &&
   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:

Install the package:

64Bit

Compile the package:

   CC="gcc ${BUILD64}" ./configure --prefix=/opt/scimath --libdir=/opt/scimath/lib64 \
   --enable-k7 –enable-sse2 &&
   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

Contents

  • Installed Programs: /opt/scimath/bin/fftw-wisdom, /opt/scimath/bin/fftw-wisdom-to-conf
  • Installed Libraries: /opt/scimath/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).