> No. There must be some misunderstanding here. Labels in the mesh are _always_ 
> distributed by DMPlexDistribute().

You are right. "DMHasLabel" returns true in all ranks, and "DMGetNumLabels" 
returns the same number in all ranks as well. So labels are indeed distributed.

I create some data structures afterwards to "simplify" their access/use, and 
some of them get lost along the way, somehow, ending up with different number 
of (references to) labels per rank. "Simplification" gone wrong.

Now I know where the flawed code is. Need to fix all the additional logic after 
reading labels.

Thank you,

---
Noam

Reply via email to