Using MPI_Scatter to make some ranks do IO and others generate