Skip to content

Commit 907c21f

Browse files
committed
Unsetting TMPDIR
1 parent ecb68ca commit 907c21f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

contrib/slurm/arrayexecutor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ def get_run_cli(benchmark, args, tempdir, resultdir):
555555
[
556556
"sh",
557557
"-c",
558-
(
558+
"unset TMPDIR; "
559+
+ (
559560
f"tooldir=$(mktemp -d -p {os.path.dirname(os.getcwd())}); cp -r {os.getcwd()}/. $tooldir/; cd $tooldir; "
560561
if benchmark.config.copy_tool
561562
else f"cd {os.getcwd()}; "

0 commit comments

Comments
 (0)