#!/bin/bash i=10 while [ $i -le 1000000 ]; do for j in $(seq 1 1 30); do mpirun -node 0-34 -nnp 16 reduce -b $i done let i*=10 done