Skip to content

Commit

Permalink
Set OPENBLAS_NUM_THREADS=1, resolves #356
Browse files Browse the repository at this point in the history
  • Loading branch information
davidemms committed Apr 2, 2020
1 parent b1fb308 commit 25ca956
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts_of/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
from __future__ import absolute_import
from . import parallel_task_manager

import os # Y
os.environ["OPENBLAS_NUM_THREADS"] = "1" # fix issue with numpy/openblas. Will mean that single threaded options aren't automatically parallelised

import sys # Y
import subprocess # Y
import os # Y
import glob # Y
import shutil # Y
import time # Y
Expand Down

0 comments on commit 25ca956

Please sign in to comment.