#!/bin/bash rm -f out.* make -j || exit 1 n_inner=5 n_outer=9 mpiexec -n $(( n_inner + n_outer)) --output-filename out ./wrap $n_inner $n_outer