FFTW - shawfdong/hyades GitHub Wiki
Download the latest stable release of FFTW:
$ cd /scratch/ $ wget http://www.fftw.org/fftw-3.3.4.tar.gz $ tar xvfz fftw-3.3.4.tar.gz
$ export CC=icc $ export F77=ifort $ export MPICC=mpiicc $ ./configure --enable-mpi --enable-avx --prefix=/pfs/sw/parallel/impi_intel/fftw-3.3.4Note I didn't enable the FFTW threads library. Please let me know if you need the FFTW threads library.
Compile and install FFTW 3.3.4 with MPI:
$ make $ make install
FFTW 3.3.4 with MPI is installed at /pfs/sw/parallel/impi_intel/fftw-3.3.4 on Hyades. To facilitate the usage of FFTW with MPI, I've created a module fftw to set up environment for the FFTW library[3].
Note the environment variable FPATH sets the path for include and module files for Intel Fortran Compiler.
To display information about the module:
$ module show fftw
To load the module:
$ module load fftw