Fix wrong pid output
More MPI stuff