FunctionSpace on BoundaryMesh does not work in parallel
Issue #14
resolved
from dolfin import *
mesh = UnitCubeMesh(3,3,3)
bdry = BoundaryMesh(mesh, "exterior")
V = FunctionSpace(bdry, "DG", 0)
print V.dim()
When running this code in parallel (mpirun -n 2 python foo.py) this has V.dim() == 0.
It works fine on a single process, and it also works when writing the BoundaryMesh to file in serial, and then reading it in parallel.
Comments (5)
-
reporter -
With master this even fails with
Signal code: Integer divide-by-zero
somewhere inDofMapBuilder::compute_node_ownership
. -
- changed status to resolved
Fix issue 14: BoundaryMesh/BoundaryComputation now works in parallel.
→ <<cset a2630ce57a0a>>
-
Fix issue 14: BoundaryMesh/BoundaryComputation now works in parallel.
→ <<cset e04d7beb0443>>
-
Issue
#177was marked as a duplicate of this issue. - Log in to comment
I have found that the global indices are the same as the local indices for the boundary mesh, so the BoundaryMesh doesn't seem to recognize that it is distributed?
Any ideas on this? Any workarounds maybe?