Ensure MPI_Init is call at startup and MPI_Finish at finalizing