MPI setup.