summaryrefslogtreecommitdiff
path: root/BFS/baselines/cpu/run.sh
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-01 15:27:02 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-01 15:27:02 +0200
commita27736998b1326f8bdf927b6f856d0592269a895 (patch)
tree8954294a3d94995bf47fc49a33a91e9b0d04df6d /BFS/baselines/cpu/run.sh
parenta169ff00414aec27055862bd971a85072b3babe8 (diff)
BFS: update dfatool port; add eval scripts
Diffstat (limited to 'BFS/baselines/cpu/run.sh')
-rwxr-xr-xBFS/baselines/cpu/run.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/BFS/baselines/cpu/run.sh b/BFS/baselines/cpu/run.sh
index 4174fc3..d0e0400 100755
--- a/BFS/baselines/cpu/run.sh
+++ b/BFS/baselines/cpu/run.sh
@@ -2,6 +2,12 @@
set -e
+HOST="$(hostname)"
+
+echo $HOST
+
+(
+
echo "prim-benchmarks BFS CPU (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"
@@ -9,10 +15,13 @@ echo "Revision $(git describe --always)"
# default threads: 4
# input size depends on file -> strong scaling only
+# each BFS invocation performs 100 iterations
+# roadNet-CA appears to be too small; frequently gives inf throughput
-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
+make -B verbose=1
+for nr_threads in 88 64 44 1 2 4 6 8 12 16 20 24 32; do
+ for f in loc-gowalla_edges; do # roadNet-CA; do
OMP_NUM_THREADS=${nr_threads} timeout --foreground -k 1m 30m ./bfs -f ../../data/${f}.txt || true
done
done
+) | tee "${HOST}-explore.txt"