#!/bin/bash

. ./config.sh

res="OK"

for NN in ${NN_ARR[@]}; do 
for T in ${T_ARR[@]}; do 
for PPN in ${PPN_ARR[@]}; do 
	datablock=$(( $DATASIZE / $PPN ))
	remain=$(( $datablock - ($datablock / $T * $T) ))
	if [ 0 -ne $remain ]; then
		echo "FIX IOR parameters: NN=$NN, PPN=$PPN, T=$T, DS=$datablock"
		res="FAILED"
	fi
done
done
done

echo $res
