From 6380c69aa5c1c1d140239926a8ef131248c51416 Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Mon, 16 Dec 2019 15:00:46 -0800 Subject: Limit numpy to using 1 thread --- scripts/.profile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/.profile b/scripts/.profile index bd46a17..daaf1dd 100644 --- a/scripts/.profile +++ b/scripts/.profile @@ -19,6 +19,11 @@ nsjpy() { --rlimit_as 700 \ --chroot / \ -E LANG=en_US.UTF-8 \ + -E OMP_NUM_THREADS=1 \ + -E OPENBLAS_NUM_THREADS=1 \ + -E MKL_NUM_THREADS=1 \ + -E VECLIB_MAXIMUM_THREADS=1 \ + -E NUMEXPR_NUM_THREADS=1 \ -R/usr -R/lib -R/lib64 \ --user 65534 \ --group 65534 \ -- cgit v1.2.3