#!/bin/bash NODES=128 i=10 while [ $i -le 10000 ]; do for j in $(seq 1 1 30); do mpirun -np $NODES reduce -b $i done let i*=10 done