Difference between revisions of "FFTW"

From CBLFS
Jump to navigationJump to search
m
Line 11: Line 11:
 
Compile the package:
 
Compile the package:
  
    ./configure --prefix=/opt/gnu --enable-k7 –enable-sse2 &&
+
./configure --prefix=/usr --enable-shared &&
    make
+
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.
 
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.
Line 18: Line 18:
 
Install the package:
 
Install the package:
  
    make install
+
make install
  
 
== Multilib ==
 
== Multilib ==
Line 26: Line 26:
 
Compile the package:
 
Compile the package:
  
    CC="gcc ${BUILD32}" ./configure --prefix=/opt/scimath --libdir=/opt/scimath/lib \
+
CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
    --enable-k7 –enable-sse2 &&
+
./configure --prefix=/usr --enable-shared &&
    make
+
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.
 
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.
Line 34: Line 34:
 
Install the package:
 
Install the package:
  
    make install
+
make install
  
 
=== N32 ===
 
=== N32 ===
Line 40: Line 40:
 
Compile the package:
 
Compile the package:
  
Install 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 ===
 
=== 64Bit ===
Line 46: Line 54:
 
Compile the package:
 
Compile the package:
  
    CC="gcc ${BUILD64}" ./configure --prefix=/opt/scimath --libdir=/opt/scimath/lib64 \
+
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
    --enable-k7 –enable-sse2 &&
+
./configure --prefix=/usr --libdir=/usr/lib64 --enable-shared &&
    make
+
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.
 
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.
Line 54: Line 62:
 
Install the package:
 
Install the package:
  
    make install
+
make install
  
 
== Contents ==
 
== Contents ==
  
* Installed Programs: /opt/scimath/bin/fftw-wisdom, /opt/scimath/bin/fftw-wisdom-to-conf
+
* Installed Programs: /usr/bin/fftw-wisdom, /usr/bin/fftw-wisdom-to-conf
* Installed Libraries: /opt/scimath/lib/libfftw3.{la,a}
+
* Installed Libraries: /usr/lib/libfftw3.{la,a}
  
 
=== Short Description ===
 
=== Short Description ===

Revision as of 14:27, 12 November 2006

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=/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

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=4003"