Both vectors are created with the VecCreateGhostWithArray as pasted above. The ghosts never get updated... I put a dummy value and it stays untouched. 'to' is also a ghosted vector but the contributions from the ghosts should be discarded. The ghosts are only used to compute the new local values. Any ideas?