tar -xvf fftw-3.3.8.tar.gz
cd fftw-3.3.8
./bootstrap.sh
./configure --prefix=/path/to/FFTW --enable-threads --enable-openmp --enable-float
make -j40 make -j40 install
export PATH=/path/to/FFTW/bin:$PATH export LD_LIBRARY_PATH=/path/to/FFTW/lib:$LD_LIBRARY_PATH