summaryrefslogtreecommitdiff
path: root/SpMV/run-fgbs24a.sh
blob: 42c2c350cbbbd33560c00d26604df862ae111129 (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
29
30
31
32
33
#!/bin/bash

set -e

mkdir -p $(hostname)

ts=$(date +%Y%m%d)

(

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

cd data/generate
./replicate ../bcsstk30.mtx 64 ../bcsstk30.mtx.64.mtx
cd ../..

for nr_dpus in 2304 2048 2543; do
	for nr_tasklets in 16; do
		echo
		if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets}; then
			# repetition is not part of upstream setup
			for i in `seq 1 100`; do
				timeout --foreground -k 1m 3m bin/host_code -v 0 -f data/bcsstk30.mtx.64.mtx || true
			done
		fi
	done
done
echo "Completed at $(date)"
) | tee "$(hostname)/${ts}-fgbs24a.txt"

rm -f data/bcsstk30.mtx.64.mtx