fftw

fftw compiled using the intel compilers

compilation

fftw
====
module load intel-cc-11/11.1.072      
module load intel-fc-11/11.1.072      
module load intel-cmkl-11/11.1.072    
module load intel-tools-11/11.1.072   
module load intel-mpi/4.0.0.027   

tar -zxvf fftw-3.3alpha1.tar.gz
cd fftw-3.3alpha1
cd /root/soft/fftw/fftw-3.3alpha1
make cleandist
make clean all

./configure --prefix=/sw/FFTW/3.3.alpha-intel --enable-mpi MPICC=/sw/sdev/intel/mpi/4.0.0.027/x86_64/bin64/mpicc  LDFLAGS=-L/sw/sdev/intel/mpi/4.0.0.027/x86_64/lib CPPFLAGS=-I/sw/sdev/intel/mpi/4.0.0.027/x86_64/include64 --enable-shared CC=mpicc CXX=mpicxx


make
make check
make install

module file

 more 3.3-alpha-intel
#%Module1.0
set     fftw_ver                "3.3.alpha-intel"

set     intel_mpi_ver           "4.0.0.027"
set     intel_mpi_ver_conflict  "3.2.2.006"

set     intel_tools_ver "intel-tools-11"

module-whatis   "Sets the environment for FFTW (Intel)"
module-whatis   "--enable-mpi --enable-openmp --enable-shared"

module load  $intel_tools_ver
module load  intel-mpi/$intel_mpi_ver

conflict  intel-mpi/${intel_mpi_ver_conflict}

prepend-path    PATH            /sw/FFTW/${fftw_ver}/bin
prepend-path    MANPATH         /sw/FFTW/${fftw_ver}/man
prepend-path    LD_LIBRARY_PATH /sw/FFTW/${fftw_ver}/lib
prepend-path    INCLUDE         /sw/FFTW/${fftw_ver}/include



proc ModulesHelp { } {
        puts stderr "Sets up the paths you need to use FFTW compiled using Intel Compilers"
        puts stderr "--enable-mpi --enable-openmp --enable-shared"
        puts stderr "Indy Siva June 17th  2011"
}



Other versions

http://confluence.rcs.griffith.edu.au:8080/display/GHPC/python-lapack-atlas-sparse-numpy-scipy-matplotlib