summaryrefslogtreecommitdiff
path: root/TS/baselines/cpu/run.sh
blob: aacce32489438551fbd121d0f09d32195f00fbbe (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
#!/bin/sh

set -e

HOST="$(hostname)"

echo $HOST

(

echo "prim-benchmarks TS CPU (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"

# input size depends on file -> strong scaling only
# arguments taken from README / launch.sh

make -B
for i in $(seq 1 10); do
	for nr_threads in 88 64 44 1 2 4 6 8 12 16 20 24 32; do
		OMP_NUM_THREADS=${nr_threads} timeout --foreground -k 1m 60m ./streamp_openmp inputs/randomlist33M.txt 256 || true
		sleep 10
	done
done
) | tee "${HOST}-explore.txt"