Harshad Sahasrabudhe
2017-05-10 21:01:25 UTC
Hi,
I'm trying to import a mesh using the GmshIO class. However, I get the
following error while broadcasting the mesh when I run with 2 processes:
Assertion `mesh.comm().verify(mesh.n_elem())' failed.
[0] src/mesh/mesh_communication.C, line 814, compiled [1]
src/mesh/mesh_communication.C, line 814, compiled Dec 14 2016 at 16:17:32
terminate called after throwing an instance of 'libMesh::LogicError'
Any idea why this could be happening? Here's the backtrace:
#0 0x0000003ab5c32625 in raise () from /lib64/libc.so.6
#1 0x0000003ab5c33e05 in abort () from /lib64/libc.so.6
#2 0x00002b85c16c3b6d in __gnu_cxx::__verbose_terminate_handler () at
/tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00002b85c16c1bb6 in __cxxabiv1::__terminate (handler=<optimized out>)
at /tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x00002b85c16c1c01 in std::terminate () at
/tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5 0x00002b85c16c1e18 in __cxxabiv1::__cxa_throw (obj=0x13547900,
tinfo=0x2b85c0a27db0 <typeinfo for libMesh::LogicError>,
dest=0x2b85be586574 <libMesh::LogicError::~LogicError()>) at
/tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/eh_throw.cc:87
#6 0x00002b85c4e24852 in libMesh::MeshCommunication::broadcast
(this=0x7ffe6f69f433, mesh=...) at src/mesh/mesh_communication.C:814
#7 0x00002b85c4f43eaf in libMesh::NameBasedIO::read (this=0x7ffe6f69f640,
name=...) at src/mesh/namebased_io.C:284
#8 0x00002b85c4f74ca8 in libMesh::UnstructuredMesh::read (this=0x17462b0,
name=..., mesh_data=0x0, skip_renumber_nodes_and_elements=false) at
src/mesh/unstructured_mesh.C:589
#9 0x00002b85bfa3a9eb in FEMmacroscopicDomain::build_mesh_orthogonal
(this=0x17456e0) at FEMmacroscopicDomain.cpp:267
#10 0x00002b85bfa39497 in FEMmacroscopicDomain::build_the_domain
(this=0x17456e0) at FEMmacroscopicDomain.cpp:63
#11 0x00002b85bf958853 in Domain::init (this=0x17456e0) at Domain.cpp:343
#12 0x00002b85bfa65b3d in Nemo::init_materials (this=0x63ba80
<Nemo::instance()::impl>) at Nemo.cpp:1201
#13 0x0000000000426ed3 in main (argc=3, argv=0x7ffe6f6a14d8) at main.cpp:440
Thanks!
Harshad
I'm trying to import a mesh using the GmshIO class. However, I get the
following error while broadcasting the mesh when I run with 2 processes:
Assertion `mesh.comm().verify(mesh.n_elem())' failed.
[0] src/mesh/mesh_communication.C, line 814, compiled [1]
src/mesh/mesh_communication.C, line 814, compiled Dec 14 2016 at 16:17:32
terminate called after throwing an instance of 'libMesh::LogicError'
Any idea why this could be happening? Here's the backtrace:
#0 0x0000003ab5c32625 in raise () from /lib64/libc.so.6
#1 0x0000003ab5c33e05 in abort () from /lib64/libc.so.6
#2 0x00002b85c16c3b6d in __gnu_cxx::__verbose_terminate_handler () at
/tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00002b85c16c1bb6 in __cxxabiv1::__terminate (handler=<optimized out>)
at /tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x00002b85c16c1c01 in std::terminate () at
/tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5 0x00002b85c16c1e18 in __cxxabiv1::__cxa_throw (obj=0x13547900,
tinfo=0x2b85c0a27db0 <typeinfo for libMesh::LogicError>,
dest=0x2b85be586574 <libMesh::LogicError::~LogicError()>) at
/tmp/aai/gcc-5.2.0/libstdc++-v3/libsupc++/eh_throw.cc:87
#6 0x00002b85c4e24852 in libMesh::MeshCommunication::broadcast
(this=0x7ffe6f69f433, mesh=...) at src/mesh/mesh_communication.C:814
#7 0x00002b85c4f43eaf in libMesh::NameBasedIO::read (this=0x7ffe6f69f640,
name=...) at src/mesh/namebased_io.C:284
#8 0x00002b85c4f74ca8 in libMesh::UnstructuredMesh::read (this=0x17462b0,
name=..., mesh_data=0x0, skip_renumber_nodes_and_elements=false) at
src/mesh/unstructured_mesh.C:589
#9 0x00002b85bfa3a9eb in FEMmacroscopicDomain::build_mesh_orthogonal
(this=0x17456e0) at FEMmacroscopicDomain.cpp:267
#10 0x00002b85bfa39497 in FEMmacroscopicDomain::build_the_domain
(this=0x17456e0) at FEMmacroscopicDomain.cpp:63
#11 0x00002b85bf958853 in Domain::init (this=0x17456e0) at Domain.cpp:343
#12 0x00002b85bfa65b3d in Nemo::init_materials (this=0x63ba80
<Nemo::instance()::impl>) at Nemo.cpp:1201
#13 0x0000000000426ed3 in main (argc=3, argv=0x7ffe6f6a14d8) at main.cpp:440
Thanks!
Harshad