From 33d2ba30dbedc21aff88e5ad68b7e3aee1350f1e Mon Sep 17 00:00:00 2001 From: Jan Thorbecke <janth@xs4all.nl> Date: Thu, 7 Mar 2019 16:46:30 +0100 Subject: [PATCH] MKL library calls for FFT; much faster --- Make_include_template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Make_include_template b/Make_include_template index d231cfa..e37379b 100644 --- a/Make_include_template +++ b/Make_include_template @@ -77,7 +77,7 @@ OPTC += -fopenmp ############################################################################# # BLAS and LAPACK libraries -MKLROOT=/opt/intel/compilers_and_libraries/mac/mkl/ +MKLROOT=/opt/intel/mkl/ BLAS = ${MKLROOT}/lib/libmkl_intel_lp64.a ${MKLROOT}/lib/libmkl_sequential.a ${MKLROOT}/lib/libmkl_core.a -lpthread -lm -ldl #for intel compilers #BLAS = -mkl @@ -88,6 +88,10 @@ BLAS = ${MKLROOT}/lib/libmkl_intel_lp64.a ${MKLROOT}/lib/libmkl_sequential.a ${M #AMDROOT = /home/thorbcke/amdsdk/v1.0/acml/open64_64 #OPTC += -DACML440 -I$(AMDROOT)/include #LIBSM = -L$(AMDROOT)/lib -lacml -lfortran -lffio -lrt -lm +#Intel MKL +MKLROOT=/opt/intel/mkl/ +OPTC += -DMKL -I$(MKLROOT)/include +FFT = ${MKLROOT}/lib/libmkl_intel_lp64.a ${MKLROOT}/lib/libmkl_sequential.a ${MKLROOT}/lib/libmkl_core.a -lpthread -lm -ldl ############################################################################# # Some convenient abbreviations -- GitLab