Currently FFTW3.3.6 is not officially available on the server, but a version compiled with icc is available at /home/lhausamm/local.
module load intel/16.0.3
module load intelmpi/5.1.3
module load hdf5/1.8.16-mpi
module load automake
module load libtool
module load autoconf
module load m4
module load metis
export CFLAGS='-I/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/intel-16.0.3/metis-5.1.0-l5aiij6wjuifmuzdwtuh3f2qrnbsjk3d/include'
export CFLAGS=$CFLAGS' -I/home/lhausamm/local/include -L/home/lhausamm/local/lib'
I am exporting CFLAGS due to a linking problem. The export of the my local directory is for FFTW3.3.6