From 679560c1f0f520b89a17f3778294ca1b4dd836f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20W=C3=B3jtowicz?= Date: Fri, 27 May 2016 00:07:49 +0200 Subject: [PATCH] fixed gotoblas2 threading issue --- slave-cmds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slave-cmds.sh b/slave-cmds.sh index 44de027..0ae7166 100644 --- a/slave-cmds.sh +++ b/slave-cmds.sh @@ -320,7 +320,7 @@ function gotoblas2_check { echo "${DIR_GOTOBLAS2}" > /etc/ld.so.conf.d/gotoblas2.conf ldconfig - LD_PRELOAD="${DIR_GOTOBLAS2}/libgoto2blas.so ${DIR_GOTOBLAS2}/libgoto2lapack.so" GOTO_NUM_THREADS=${NPROC} Rscript -e "blasLibName='gotoblas2'; library(checkpoint); checkpoint('${CHECKPOINT_DATE}', scanForPackages=FALSE, verbose=FALSE); library(RhpcBLASctl); blas_set_num_threads(${NPROC}); source('${R_BENCHMARK_SCRIPT}')" + LD_PRELOAD="${DIR_GOTOBLAS2}/libgoto2blas.so ${DIR_GOTOBLAS2}/libgoto2lapack.so" GOTO_NUM_THREADS=1 Rscript -e "blasLibName='gotoblas2'; library(checkpoint); checkpoint('${CHECKPOINT_DATE}', scanForPackages=FALSE, verbose=FALSE); library(RhpcBLASctl); blas_set_num_threads(${NPROC}); source('${R_BENCHMARK_SCRIPT}')" rm /etc/ld.so.conf.d/gotoblas2.conf ldconfig