Installing FFTW
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the FFTW installation package:
tar -xvf fftw-3.3.8.tar.gz
- Run the following command to switch to the directory generated after the package is decompressed:
cd fftw-3.3.8
- Run the following command to run the bootstrap.sh script:
./bootstrap.sh
- Run the following command to perform the configuration:
./configure --prefix=/path/to/FFTW --enable-threads --enable-openmp --enable-float
- Run the following commands to perform compilation and installation:
make -j40 make -j40 install
- Run the following commands to set the FFTW 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