Commit 30c3a11b authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

ban numpy multithreading

parent 626f8bc7
......@@ -74,7 +74,10 @@ class Pipeline:
def ban_multithreading(self):
os.environ["OMP_NUM_THREADS"] = "1"
os.environ["OPENBLAS_NUM_THREADS"] = "1"
os.environ["MKL_NUM_THREADS"] = "1"
os.environ["VECLIB_MAXIMUM_THREADS"] = "1"
os.environ["NUMEXPR_NUM_THREADS"] = "1"
def set_test_env(self):
os.environ["CSST_DFS_API_MODE"] = "cluster"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment