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
7ec00c4f
Commit
7ec00c4f
authored
Jul 12, 2023
by
BO ZHANG
🏀
Browse files
ban numpy multithreading
parent
c4ae6c7c
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
7ec00c4f
...
...
@@ -59,6 +59,8 @@ class Pipeline:
if
filter_warnings
:
self
.
filter_warnings
()
self
.
ban_multithreading
()
def
ban_multithreading
(
self
):
os
.
environ
[
"OMP_NUM_THREADS"
]
=
"1"
os
.
environ
[
"MKL_NUM_THREADS"
]
=
"1"
...
...
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