Added a MPI_Barrier