Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
30c3a11b
Commit
30c3a11b
authored
Jul 30, 2023
by
BO ZHANG
🏀
Browse files
ban numpy multithreading
parent
626f8bc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
30c3a11b
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment