The Fftw3-Installation at HLRN

Download:

fftw3 - downloads

Installation path:

/sw/numerics/fftw3/< mpi-version >/<compiler-version>/3.3.8/skl, untar and rename/move the directory to build

configure:  

configure --help reveals the most important switches:

  • CC, FC, MPICC etc. to define the compiler
  • CFLAGS as slot for compiler options, do not forget -Wl,-rpath=$LD_RUN_PATH to burn the path to compiler libraries. intel/18.0.3 does not have the LD_RUN_PATH. The path the the fftw3-objects is burned in automatically by configure/make.
  • --enable-shared to build alos shared libraries
  • --enable-single, --enable-long-double to build for different numerical accuracy.
  • --enable-omp, --enable-threads, --enable-mpi