From f6b11e344208102d1557732c2b19a5cba18e08aa Mon Sep 17 00:00:00 2001 From: Christof Schulze Date: Tue, 8 Feb 2022 11:35:05 +0100 Subject: [PATCH] fixing mkl_fix --- ww8-bash.spec | 4 +++- zz_ww8_mkl_fix.sh | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ww8-bash.spec b/ww8-bash.spec index 714c39e..b50a62c 100644 --- a/ww8-bash.spec +++ b/ww8-bash.spec @@ -1,6 +1,6 @@ Name: ww8-bash -Version: 1.0.4 +Version: 1.0.5 Release: 1%{?dist} License: MIT Summary: Environment settings @@ -76,6 +76,8 @@ rm -rf %{buildroot} %changelog +* Tue Feb 8 2022 Christof Schulze - 1.0.5-1 + - fixing mkl_fix * Thu Dec 2 2021 Christof Schulze - 1.0.4-1 - added apt and yamllint * Thu Apr 29 2021 Christof Schulze - 1.0.3-1 diff --git a/zz_ww8_mkl_fix.sh b/zz_ww8_mkl_fix.sh index 22d1738..404d764 100644 --- a/zz_ww8_mkl_fix.sh +++ b/zz_ww8_mkl_fix.sh @@ -3,6 +3,6 @@ CPU=$(/usr/bin/lscpu | /usr/bin/grep "Model name" | /usr/bin/cut -d ":" -f2| /usr/bin/tr -d '[:space:]') -if [ $(echo $CPU | grep AMDEPYC >/dev/null; echo $) == 0 ]; then +if [ $(echo $CPU | grep AMDEPYC >/dev/null; echo $?) == 0 ]; then export MKL_DEBUG_CPU_TYPE=5 -fi \ No newline at end of file +fi -- GitLab