ddn-ime-evaluation/benchmark/tool_sanity_check.sh

21 lines
348 B
Bash
Raw Normal View History

2018-10-23 08:23:35 +00:00
#!/bin/bash
2018-11-13 07:35:25 +00:00
. ./config.sh
2018-10-23 08:23:35 +00:00
res="OK"
for NN in ${NN_ARR[@]}; do
for T in ${T_ARR[@]}; do
for PPN in ${PPN_ARR[@]}; do
2018-11-13 14:48:24 +00:00
datablock=$(( $DATASIZE / $PPN ))
remain=$(( $datablock - ($datablock / $T * $T) ))
2018-10-23 08:23:35 +00:00
if [ 0 -ne $remain ]; then
2018-11-13 14:48:24 +00:00
echo "FIX IOR parameters: NN=$NN, PPN=$PPN, T=$T, DS=$datablock"
2018-10-23 08:23:35 +00:00
res="FAILED"
fi
done
done
done
echo $res