Add boilerplate code for MPI