Parallel computing for phase-field models