Child pages
  • Hyak_fftw
Skip to end of metadata
Go to start of metadata

Programs using FFTW can be compiled by below steps. Below trial.f is a program which uses subroutines from fftw.


For GNU gfortran:

gfortran trial.f lfftw3


For Intel ifort:

module load icc_17

ifort trial.f -lfftw3

or

ifort trial.f -mkl


For Use in Makefiles:

If you are using makefiles then add the LAPACK and BLAS options to the FFLAGS variable as shown below:

FFLAGS = -O2 -lfftw3



  • No labels