summaryrefslogtreecommitdiff
path: root/BFS/baselines/cpu/run.sh
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-25 13:56:18 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-25 13:56:18 +0200
commit40e8a5eac49e91be407c36eef6fb326229945a22 (patch)
tree072fb847cfa1f0d52b6640321dcf81487fbbd7fa /BFS/baselines/cpu/run.sh
parentd41ec55b9847d16f32ca47155f2cd7e4ea72386a (diff)
BFS: run timeout in --foreground mode to pass on SIGINT
Diffstat (limited to 'BFS/baselines/cpu/run.sh')
-rwxr-xr-xBFS/baselines/cpu/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BFS/baselines/cpu/run.sh b/BFS/baselines/cpu/run.sh
index 8d51442..1fe82e9 100755
--- a/BFS/baselines/cpu/run.sh
+++ b/BFS/baselines/cpu/run.sh
@@ -11,6 +11,6 @@ echo "Revision $(git describe --always)"
make
for nr_threads in 1 2 4 6 8 12 16 20 24 32; do
for f in loc-gowalla_edges roadNet-CA; do
- OMP_NUM_THREADS=${nr_threads} timeout -k 1m 30m ./bfs -f ../../data/${f}.txt || true
+ OMP_NUM_THREADS=${nr_threads} timeout --foreground -k 1m 30m ./bfs -f ../../data/${f}.txt || true
done
done