added some mpi functions to c.snippets