mpi read working