[Dune] Assertion when reading an ALUGrid<3,3> from gmsh
Jö Fahlke
jorrit at jorrit.de
Sun Dec 5 23:20:39 CET 2010
Hi!
I'm trying to read in a .msh file into an ALUSimplexGrid<3,3> using Dune's
GmshReader.
If get the following error (full error is given below):
| lt-fetd-3D: serial/gitter_mgb.cc:835: void ALUGridSpace::MacroGridBuilder::finalize(): Assertion `((hface3_GEO *)(*int).second)->ref == 2' failed.
The error message means nothing to me. Does this ring a bell with anyone? If
not, don't think too hard about it, gmsh seems to have problems with this file
as well and often segfaults when working with it.
Thanks,
Jö.
Full error message, has been run through "c++filt -t":
======================================================================
-*- mode: compilation; default-directory: "/home/joe/src/dune-noopt/dune-pm/appl/fetd/" -*-
Compilation started at Sun Dec 5 23:10:49
cd ~/src/dune-noopt/dune-pm/appl/fetd && make fetd-3D && ./fetd-3D scattering-3D.conf
make: »fetd-3D« ist bereits aktualisiert.
Reading 3d Gmsh grid...
version .1 Gmsh file detected
file contains 18409 nodes
file contains 100905 elements
number of real vertices = 18409
number of boundary elements = 0
number of elements = 100905
**WARNING (ignored) could'nt open file < alugrid.cfg > . Using default values:
0 < [balance] < 1.2 partitioning method "METIS_PartGraphKway"
Created parallel ALUSimplexGrid<3,3> from macro grid file ''.
lt-fetd-3D: serial/gitter_mgb.cc:835: void ALUGridSpace::MacroGridBuilder::finalize(): Assertion `((hface3_GEO *)(*int).second)->ref == 2' failed.
[paranoia:16970] *** Process received signal ***
[paranoia:16970] Signal: Aborted (6)
[paranoia:16970] Signal code: (-6)
[paranoia:16970] [ 0] [0xf7799410]
[paranoia:16970] [ 1] /lib/i686/cmov/libc.so.6(abort+0x182) [0xf6ab9b82]
[paranoia:16970] [ 2] /lib/i686/cmov/libc.so.6(__assert_fail+0xf8) [0xf6aaf8b8]
[paranoia:16970] [ 3] /home/joe/src/dune-noopt/ALUGrid-inst/lib/libalugrid.so.0(ALUGridSpace::MacroGridBuilder::finalize()+0xb02) [0xf75b80d4]
[paranoia:16970] [ 4] /home/joe/src/dune-noopt/ALUGrid-inst/lib/libalugrid.so.0(ALUGridSpace::MacroGridBuilder::~MacroGridBuilder()+0x3e) [0xf75b7160]
[paranoia:16970] [ 5] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> >::createGrid(bool, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)+0x105b) [0x85eeb2f]
[paranoia:16970] [ 6] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> >::createGrid()+0x4f) [0x85eed07]
[paranoia:16970] [ 7] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(Appl::FETD::GmshGridCreator<Dune::ALUSimplexGrid<3, 3>, unsigned int>::GmshGridCreator(Dune::ParameterTree const&)+0x39d) [0x85fd28f]
[paranoia:16970] [ 8] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(std::tr1::shared_ptr<Appl::FETD::GridCreatorBase<Dune::ALUSimplexGrid<3, 3>, unsigned int> > Appl::FETD::makeGridCreator<Dune::ALUSimplexGrid<3, 3>, unsigned int>(Dune::ParameterTree const&)+0x1dc) [0x85fdaf3]
[paranoia:16970] [ 9] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(void Appl::FETD::fetd<Dune::ALUSimplexGrid<3, 3> >(Dune::ParameterTree const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x60) [0x86175bd]
[paranoia:16970] [10] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D(main+0x157) [0x849be38]
[paranoia:16970] [11] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xf6aa2c76]
[paranoia:16970] [12] /home/joe/src/dune-noopt/dune-pm/appl/fetd/.libs/lt-fetd-3D() [0x84997a1]
[paranoia:16970] *** End of error message ***
/bin/bash: Zeile 1: 16970 Abgebrochen ./fetd-3D scattering-3D.conf
Compilation exited abnormally with code 134 at Sun Dec 5 23:10:55
======================================================================
--
If you receive something that says "Send this to everyone you know,"
pretend you don't know me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101205/23aa8ec7/attachment.sig>
More information about the Dune
mailing list