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