+if ((clients_hi > nclients)); then clients_hi=$nclients; fi
+
+for ((rsize=rsize_lo; rsize<=rsize_hi; rsize$rsize_iterator)); do
+ pp_rsize=`pp_number $rsize`
+
+ for ((nclnt=clients_lo; nclnt<=clients_hi; nclnt$clients_iterator)); do
+ test_clients="${cluster}`n2noderange $nclnt ${clients[@]}`"
+
+ per_client_size=$((min_total_size/nclnt))
+ if ((per_client_size < min_per_client_size)); then
+ per_client_size=$min_per_client_size
+ fi
+ total_size=`pp_number $((per_client_size * nclnt))`
+
+ for ((ntask=tasks_per_client_lo; ntask <= tasks_per_client_hi; ntask$tasks_per_client_iterator)); do
+ per_task_size=$((per_client_size/ntask))
+
+ hdrstr=`printf "Total: %5sB rsize: %4s clients: %4d tasks: %3d: " $total_size $rsize $nclnt $ntask`
+ print_summary -n "$hdrstr"
+
+ for ((test_idx=0; test_idx < ${#tests[@]}; test_idx++)); do
+ test=${tests[$test_idx]}
+
+ print_summary -n "$test "
+ echo "===========> ${hdrstr} on $test_clients doing $test" >> $workf
+ echo -n > $tmpf
+
+ if [ "$test" = "remount" ]; then
+ echo "=> $remount" >> $tmpf
+ $pdsh -S -b -w "$test_clients" >> $tmpf 2>&1 \
+ "$remount"
+ status=$?
+ echo "Completion Status: $status" >> $tmpf
+
+ if ((status)); then
+ result="ERROR"
+ else
+ result="OK"
+ fi
+ else
+ cmd="(mount -t lustre; mount -t lustre_lite) | grep $lustre"
+ echo "=> $cmd" >> $tmpf
+ $pdsh -S -b -w "$test_clients" >> $tmpf 2>&1 \
+ "$cmd"
+ status=$?
+ echo "Completion Status: $status" >> $tmpf