Navier-Stokes demo does not work in parallel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Navier-Stokes demo works fine with one processor but fails when I'm trying two. I get the error message
[mmo@mk083:python] mpirun -np 2 python demo_navier-
Process 0: Partitioned mesh, edge cut is 8.
Process 1: Partitioned mesh, edge cut is 8.
[mk083:02497] *** Process received signal ***
[mk083:02497] Signal: Segmentation fault (11)
[mk083:02497] Signal code: Address not mapped (1)
[mk083:02497] Failing at address: 0x4
[mk083:02498] *** Process received signal ***
[mk083:02498] Signal: Segmentation fault (11)
[mk083:02498] Signal code: Address not mapped (1)
[mk083:02498] Failing at address: 0x4
[mk083:02498] [ 0] /lib/x86_
[mk083:02498] [ 1] /home/mmo/
[mk083:02498] [ 2] /home/mmo/
[mk083:02498] [ 3] /home/mmo/
[mk083:02498] [ 4] python(
[mk083:02498] [ 5] python(
[mk083:02498] [ 6] python() [0x4c4526]
[mk083:02498] [ 7] python(
[mk083:02498] [ 8] python() [0x45f43f]
[mk083:02498] [ 9] python(
[mk083:02498] [10] python() [0x48ae3f]
[mk083:02498] [11] python() [0x48928d]
[mk083:02497] [ 0] /lib/x86_
[mk083:02497] [ 1] /home/mmo/
[mk083:02497] [ 2] /home/mmo/
[mk083:02497] [ 3] /home/mmo/
[mk083:02497] [ 4] python(
[mk083:02497] [ 5] python(
[mk083:02497] [ 6] python() [0x4c4526]
[mk083:02498] [12] python(
[mk083:02498] [13] python(
[mk083:02498] [14] python(
[mk083:02498] [15] python() [0x4c4526]
[mk083:02498] [16] python(
[mk083:02498] [17] python() [0x45f43f]
[mk083:02498] [18] python(
[mk083:02498] [19] python(
[mk083:02498] [20] python(
[mk083:02498] [21] python() [0x4c4526]
[mk083:02498] [22] python(
[mk083:02498] [23] python() [0x45f43f]
[mk083:02498] [24] python(
[mk083:02498] [25] python() [0x48ae3f]
[mk083:02498] [26] python() [0x48928d]
[mk083:02498] [27] python(
[mk083:02498] [28] python(
[mk083:02498] [29] python(
[mk083:02498] *** End of error message ***
[mk083:02497] [ 7] python(
[mk083:02497] [ 8] python() [0x45f43f]
[mk083:02497] [ 9] python(
[mk083:02497] [10] python() [0x48ae3f]
[mk083:02497] [11] python() [0x48928d]
[mk083:02497] [12] python(
[mk083:02497] [13] python(
[mk083:02497] [14] python(
[mk083:02497] [15] python() [0x4c4526]
[mk083:02497] [16] python(
[mk083:02497] [17] python() [0x45f43f]
[mk083:02497] [18] python(
[mk083:02497] [19] python(
[mk083:02497] [20] python(
[mk083:02497] [21] python() [0x4c4526]
[mk083:02497] [22] python(
[mk083:02497] [23] python() [0x45f43f]
[mk083:02497] [24] python(
[mk083:02497] [25] python() [0x48ae3f]
[mk083:02497] [26] python() [0x48928d]
[mk083:02497] [27] python(
[mk083:02497] [28] python(
[mk083:02497] [29] python(
[mk083:02497] *** End of error message ***
I use dolfin 0.9.11+.
Mikael
Changed in dolfin: | |
milestone: | 1.0-rc1 → 1.0-beta2 |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
I see the same error in 1.0-beta.
Also the C++ version of this demo fails:
johannr@ simula- x61:cpp$ mpirun -np 2 ./demo_ navier- stokes buildd/ dolfin- 1.0-beta/ dolfin/ mesh/MeshTopolo gy.h:64: dolfin::uint dolfin: :MeshTopology: :size(dolfin: :uint) const: Assertion `num_entities' failed. buildd/ dolfin- 1.0-beta/ dolfin/ mesh/MeshTopolo gy.h:64: dolfin::uint dolfin: :MeshTopology: :size(dolfin: :uint) const: Assertion `num_entities' failed. i686/cmov/ libc.so. 6(abort+ 0x182) [0x4b25a82] i686/cmov/ libc.so. 6(__assert_ fail+0xf8) [0x4b1b718] libdolfin. so.1.0( _ZNK6dolfin4Mes h4initEj+ 0xf4) [0x434654] libdolfin. so.1.0( _ZN6dolfin12Mes hFunctionIjE4in itEj+0x37) [0x215877] libdolfin. so.1.0( _ZN6dolfin12Mes hFunctionIjEC1E RKNS_4MeshEj+ 0xe6) [0x215d66] libdolfin. so.1.0( _ZN6dolfin12Par allelData21glob al_entity_ indicesEj+ 0xe2) [0x40b702] libdolfin. so.1.0( _ZN6dolfin16Mes hPartitioning15 number_ entitiesERKNS_ 4MeshEj+ 0x19a) [0x40772a] libdolfin. so.1.0( _ZN6dolfin6DofM apC1EN5boost10s hared_ptrIKN3uf c6dofmapEEERNS_ 4MeshE+ 0x217) [0x265f27] navier- stokes( _ZN14VelocityUp date22Form_ 0_FunctionSpace _0C1ERN6dolfin4 MeshE+0xa2) [0x80ab1a2] navier- stokes( main+0x9f) [0x807325f] i686/cmov/ libc.so. 6(__libc_ start_main+ 0xe6) [0x4b0ebd6] navier- stokes( ) [0x80729e1] i686/cmov/ libc.so. 6(abort+ 0x182) [0x773aa82] i686/cmov/ libc.so. 6(__assert_ fail+0xf8) [0x7730718] libdolfin. so.1.0( _ZNK6dolfin4Mes h4initEj+ 0xf4) [0x434654] libdolfin. so.1.0( _ZN6dolfin12Mes hFunctionIjE4in itEj+0x37) [0x215877] libdolfin. so.1.0( _ZN6dolfin12Mes hFunctionIjEC1E RKNS_4MeshEj+ 0xe6) [0x215d66] libdolfin. so.1.0( _ZN6dolfin12Par allelData21glob al_entity_ indicesEj+ 0xe2) [0x40b702] libdolfin. so.1.0( _ZN6dolfin16Mes hPartitioning15 number_ entitiesERKNS_ 4MeshEj+ 0x19a) [0x40772a] libdolfin. so.1.0( _ZN6dolfin6DofM apC1EN5boost10s hared_ptrIKN3uf c6dofmapEEERNS_ 4MeshE+ 0x217) [0x265f27] navier- stokes( _ZN14VelocityUp date22Form_ 0_FunctionSpace _0C1ERN6dolfin4 MeshE+0xa2) [0x80ab1a2] navier- stokes( main+0x9f) [0x807325f]
Process 0: Partitioned mesh, edge cut is 8.
Process 1: Partitioned mesh, edge cut is 8.
demo_navier-stokes: /build/
[simula-x61:11097] *** Process received signal ***
[simula-x61:11097] Signal: Aborted (6)
[simula-x61:11097] Signal code: (-6)
demo_navier-stokes: /build/
[simula-x61:11096] *** Process received signal ***
[simula-x61:11096] Signal: Aborted (6)
[simula-x61:11096] Signal code: (-6)
[simula-x61:11096] [ 0] [0x5f9410]
[simula-x61:11096] [ 1] /lib/tls/
[simula-x61:11096] [ 2] /lib/tls/
[simula-x61:11096] [ 3] /usr/lib/
[simula-x61:11096] [ 4] /usr/lib/
[simula-x61:11096] [ 5] /usr/lib/
[simula-x61:11096] [ 6] /usr/lib/
[simula-x61:11096] [ 7] /usr/lib/
[simula-x61:11096] [ 8] /usr/lib/
[simula-x61:11096] [ 9] ./demo_
[simula-x61:11096] [10] ./demo_
[simula-x61:11096] [11] /lib/tls/
[simula-x61:11096] [12] ./demo_
[simula-x61:11096] *** End of error message ***
[simula-x61:11097] [ 0] [0x706410]
[simula-x61:11097] [ 1] /lib/tls/
[simula-x61:11097] [ 2] /lib/tls/
[simula-x61:11097] [ 3] /usr/lib/
[simula-x61:11097] [ 4] /usr/lib/
[simula-x61:11097] [ 5] /usr/lib/
[simula-x61:11097] [ 6] /usr/lib/
[simula-x61:11097] [ 7] /usr/lib/
[simula-x61:11097] [ 8] /usr/lib/
[simula-x61:11097] [ 9] ./demo_
[simula-x61:11097] [10] ./demo_
[simula-x61:11097] [11] /lib...