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