Writing the shell of an MPI program is easier than I remember.