From 36b064ca301adb97c956b35a010727327e51b1fc Mon Sep 17 00:00:00 2001
From: Luc Papeleux <L.Papeleux@ULiege.be>
Date: Tue, 30 Jun 2020 10:43:07 +0200
Subject: [PATCH] warson mkl config to enable optimisations on amd procs

---
 cfg/warson/intelCommunity.bashrc  | 1 +
 cfg/warson/intelCommunity.profile | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cfg/warson/intelCommunity.bashrc b/cfg/warson/intelCommunity.bashrc
index 2d14ff9..06b1982 100644
--- a/cfg/warson/intelCommunity.bashrc
+++ b/cfg/warson/intelCommunity.bashrc
@@ -6,3 +6,4 @@ if [ -d /opt/intel ] ; then
     . /opt/intel/mkl/bin/mklvars.sh intel64
     . /opt/intel/tbb/bin/tbbvars.sh intel64
 fi
+export MKL_DEBUG_CPU_TYPE=5
diff --git a/cfg/warson/intelCommunity.profile b/cfg/warson/intelCommunity.profile
index b7ff651..3e1712b 100644
--- a/cfg/warson/intelCommunity.profile
+++ b/cfg/warson/intelCommunity.profile
@@ -7,4 +7,5 @@ if [ -n "$BASH_VERSION" ]; then
         . /opt/intel/mkl/bin/mklvars.sh intel64
         . /opt/intel/tbb/bin/tbbvars.sh intel64
     fi
-fi
\ No newline at end of file
+fi
+export MKL_DEBUG_CPU_TYPE=5
-- 
GitLab