Restore set omp (#7051)

This commit is contained in:
Eric Liang
2020-02-04 15:02:23 -08:00
committed by GitHub
parent 9b9c7f86f7
commit 37053443b4
+1 -1
View File
@@ -29,7 +29,7 @@ KUBECTL_RSYNC = os.path.join(
def with_interactive(cmd):
force_interactive = ("true && source ~/.bashrc && "
"export PYTHONWARNINGS=ignore && ")
"export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && ")
return ["bash", "--login", "-c", "-i", quote(force_interactive + cmd)]