#!/bin/bash MPILX_NODELIST='jupiter0,jupiter1,jupiter2,jupiter3,jupiter4,jupiter5,jupiter6,jupiter7,jupiter8,jupiter9,jupiter10,jupiter11,jupiter12,jupiter13,jupiter14,jupiter15,jupiter16,jupiter17,jupiter18,jupiter20,jupiter21,jupiter22,jupiter23,jupiter24,jupiter25,jupiter26,jupiter27,jupiter28,jupiter29,jupiter30,jupiter31,jupiter32,jupiter33,jupiter34,jupiter35' export MPILX_NODELIST i=10 while [ $i -le 10000 ]; do for j in $(seq 1 1 30); do mpirun -node 0-35 -nnp 16 reduce -b $i done let i*=10 done