July 05, 2011

FFTW compilation with intel compiler (intel mpi)

1. Download fftw3 from http://www.fftw.org/
2. Extract the tarball
3. Configure with intel compiler

#example
./configure --prefix=/opt/FFTW --enable-mpi MPICC=/opt/intel/impi/4.0.0.028/intel64/bin/mpicc LDFLAGS=-L/opt/intel/impi/4.0.0.028/intel64/lib CPPFLAGS=-I/opt/intel/impi/4.0.0.028/intel64/include --enable-shared CC=mpicc CXX=mpicxx

4. make
5. make check
6. make install

No comments: