我要评分
获取效率
正确性
完整性
易理解

Installing FFTW

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Obtain the FFTW installation package.
    wget https://fftw.org/pub/fftw/fftw-3.3.8.tar.gz
  3. Decompress the FFTW installation package.
    tar –zxvf fftw-3.3.8.tar.gz
  4. Go to the directory generated after the decompression.
    cd fftw-3.3.8
  5. Execute the bootstrap.sh script.
    ./bootstrap.sh
  6. Perform the configuration and installation.
    ./configure --prefix=/path/to/FFTW --enable-single --enable-float --enable-neon --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing"
    make -j && make install
    make clean
    ./configure --prefix=/path/to/FFTW --enable-long-double --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing"
    make -j && make install
    make clean
    ./configure --prefix=/path/to/FFTW --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing"
    make -j && make install
  7. Configure the environment variables.
    export PATH=/path/to/FFTW/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/FFTW/lib:$LD_LIBRARY_PATH