Rate This Document
Findability
Accuracy
Completeness
Readability

Installing FFTW

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the FFTW installation package.
    tar -xvf fftw-3.3.8.tar.gz
  3. Go to the directory generated after the decompression.
    cd fftw-3.3.8
  4. Perform the configuration. Add an absolute path if an error is reported.
    export CC=`which clang`
    export CXX=`which clang++`
    export FC=`which flang`
  5. Execute the bootstrap.sh script.
    ./bootstrap.sh
  6. Perform the configuration.
    ./configure --prefix=/path/to/FFTW --enable-threads --enable-float
  7. Perform the compilation and installation.
    make
    make install
  8. Load the environment variables.
    export PATH=/path/to/FFTW/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/FFTW/lib:$LD_LIBRARY_PATH