diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-31 15:44:51 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-31 15:44:51 +0200 |
commit | 20e2656d51a2d13a6d4783b97933e8098a1ff158 (patch) | |
tree | aaefe7575476ab8f8ac3032fa4dbc8cb3bb6304a /TS/baselines/cpu/run-opti.sh | |
parent | ea5352505750377a1de36c1fa12e012dc0d3af4c (diff) |
TS: port CPU and NMC versions to dfatool
Diffstat (limited to 'TS/baselines/cpu/run-opti.sh')
-rwxr-xr-x | TS/baselines/cpu/run-opti.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/TS/baselines/cpu/run-opti.sh b/TS/baselines/cpu/run-opti.sh new file mode 100755 index 0000000..9135393 --- /dev/null +++ b/TS/baselines/cpu/run-opti.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +HOST="$(hostname)" + +echo $HOST + +make clean + +for i in $(seq 1 50); do + ( make run_O0 || OMP_NUM_THREADS=32 make run_O0 ) | sed 's/CPU/CPU O0/' +done | tee "${HOST}-O0.txt" + +for i in $(seq 1 50); do + ( make run_O2 || OMP_NUM_THREADS=32 make run_O2 ) | sed 's/CPU/CPU O2/' +done | tee "${HOST}-O2.txt" |