blob: 9d2dce6008a1f26765603af4c7bdd9299e76d0c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
set -e
HOST="$(hostname)"
echo $HOST
(
echo "prim-benchmarks BFS CPU (dfatool edition)"
echo "Started at $(date)"
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 -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
sleep 10
done
done
) | tee "${HOST}-explore.txt"
|