From 434dc09fd743716e4229fa89d027001786c99dc4 Mon Sep 17 00:00:00 2001
From: Jan Thorbecke <janth@xs4all.nl>
Date: Thu, 7 Mar 2019 11:02:01 +0100
Subject: [PATCH] linking with MKL for MDD

---
 Make_include_template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Make_include_template b/Make_include_template
index 6d0d981..c6f04de 100644
--- a/Make_include_template
+++ b/Make_include_template
@@ -75,6 +75,12 @@ OPTC += -fopenmp
 #OPTF = -Ofast
 #LDFLAGS = -static -Ofast
 
+#############################################################################
+# BLAS and LAPACK libraries 
+MKLROOT=/opt/intel/compilers_and_libraries/mac/mkl/
+
+BLAS = ${MKLROOT}/lib/libmkl_intel_lp64.a ${MKLROOT}/lib/libmkl_sequential.a ${MKLROOT}/lib/libmkl_core.a -lpthread -lm -ldl
+
 #############################################################################
 # FOR FFT LIBRARIES
 #AMD ACML 4.4.0
-- 
GitLab