Force OMP_NUM_THREADS=1 if unset (#6998)

* force omp

* update

* set

* workers

* link
This commit is contained in:
Eric Liang
2020-02-01 11:46:11 -08:00
committed by GitHub
parent 3c60caa448
commit 8b4b49662b
3 changed files with 30 additions and 7 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ KUBECTL_RSYNC = os.path.join(
def with_interactive(cmd):
force_interactive = ("true && source ~/.bashrc && "
"export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && ")
"export PYTHONWARNINGS=ignore && ")
return ["bash", "--login", "-c", "-i", quote(force_interactive + cmd)]