We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fbd687 commit c686945Copy full SHA for c686945
.github/workflows/phoenix/test.sh
@@ -1,13 +1,19 @@
1
#!/bin/bash
2
3
+tmpbuild=/storage/scratch1/6/sbryngelson3/mytmp_build
4
+currentdir=$tmpbuild/run-$(( RANDOM % 900 ))
5
+mkdir -p $tmpbuild
6
+mkdir -p $currentdir
7
+export TMPDIR=$currentdir
8
+
9
+n_test_threads=8
10
11
build_opts=""
12
if [ "$job_device" = "gpu" ]; then
13
build_opts="--gpu"
14
fi
15
-./mfc.sh test --dry-run -j 8 $build_opts
-
-n_test_threads=8
16
+./mfc.sh test --dry-run -j $n_test_thread $build_opts
17
18
19
gpu_count=$(nvidia-smi -L | wc -l) # number of GPUs on node
@@ -18,4 +24,7 @@ fi
24
25
./mfc.sh test --max-attempts 3 -a -j $n_test_threads $device_opts -- -c phoenix
20
26
27
+sleep 10
28
+rm -rf "$currentdir" || true
21
29
30
+unset TMPDIR
0 commit comments