Issues with saving mesh connectivity from parellel

Sorry for the oversight, I did run it in parallel and it is resulting in multiple duplicate rows. I’m not able to figure out reason right now but this error of duplication is similar to what is asked here as well Code not running in parallel. It might be related to how did you install FEniCS.