From 41b8d2d0ef9bd0960b0a81146fcc673e94e663a9 Mon Sep 17 00:00:00 2001 From: Dmitry Ozerov Date: Wed, 14 Oct 2020 15:12:34 +0200 Subject: [PATCH] for unknown reason bitshuffle starts to ignore settings of number of threads in jungfrau utils. Fix from Ivan Usov --- scripts/retrieve_detector_data.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/retrieve_detector_data.sh b/scripts/retrieve_detector_data.sh index dfd8f5f..e67c202 100755 --- a/scripts/retrieve_detector_data.sh +++ b/scripts/retrieve_detector_data.sh @@ -126,6 +126,9 @@ coreAssociatedConversion="35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18" #TODO: calculate this number from coreAssociatedConversion #export NUMBA_NUM_THREADS=18 +#not clear why, but bitshuffle doesn't respect OMP_NUM_THREADS set in jungfrau_utils anymore, thus we set it here +export OMP_NUM_THREADS=1 + date3=$(date +%s) echo "Finished : "`date` echo -n "Retrieve Time : "