FFTW Tutorial


  1. Download fftw-3.3.4.tar.gz on to your local machine.
  2. Extract the file using tar zxvf fftw-3.3.4.tar.gz
  3. Change directory to fftw-3.3.4
  4. Run ./configure --help to view available options
  5. To configure the compilation to /home/user/fftw using gfortran for single-precision computation, run ./configure --prefix=/home/user/fftw --enable-single CC=cc F77=gfortran
  6. Finally, run make; make install
  7. If the compilation is successful, there will be folders /bin, /include, /lib in your target folder /home/user/fftw