a mpi version of phase field code