#! /bin/sh mpirun_args="-n 1" #mpirun_args="-n 4 -H Node-001,Node-002,Node-003,Node-004" BV_opts="-r -c0" echo "mpirun_args = $mpirun_args" echo "BV_opts = $BV_opts" for nx in 16 20 24 28 30 31 32 do echo "nx = $nx" time -p ./BV.sh "$mpirun_args" "$BV_opts $nx" done