Works on Mac, was MPIwrite statement