basic mpi sample