Hello, developers,
I used gmsh to generate my mesh and read into libmesh by gmsh_io. Default
mesh file generated by gmsh is version 2.2, and libmesh will give Error
message and exit. But if I changed the .msh file from '2.2' to '2.0' in the
first line manully, it works fine, and nothing seems wrong. So can
developers update the libmesh code to recognize version 2.2?
I don't know whether there are changes from version 2.0 to 2.2, but it works
fine for me.

Error: Wrong msh file version 2.2
[0] src/mesh/gmsh_io.C, line 369, compiled Oct  3 2011 at 21:35:56
terminate called after throwing an instance of 'libMesh::LogicError'
  what():  Error in libMesh internal logic
[ubuntu:03877] *** Process received signal ***
[ubuntu:03877] Signal: Aborted (6)
[ubuntu:03877] Signal code:  (-6)
[ubuntu:03877] [ 0] [0xcd8410]
[ubuntu:03877] [ 1] /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x1757a82]
[ubuntu:03877] [ 2]
/usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x14f)
[0x3f7852f]
[ubuntu:03877] [ 3] /usr/lib/libstdc++.so.6(+0xbd465) [0x3f76465]
[ubuntu:03877] [ 4] /usr/lib/libstdc++.so.6(+0xbd4a2) [0x3f764a2]
[ubuntu:03877] [ 5] /usr/lib/libstdc++.so.6(+0xbd5e1) [0x3f765e1]
[ubuntu:03877] [ 6]
/mnt/hgfs/E/code/libmesh-0.7.1/libmesh/lib/i686-pc-linux-gnu_opt/libmesh.so(_ZN7libMesh6GmshIO9read_meshERSi+0x1bc6)
[0x4c6726]
[ubuntu:03877] [ 7]
/mnt/hgfs/E/code/libmesh-0.7.1/libmesh/lib/i686-pc-linux-gnu_opt/libmesh.so(_ZN7libMesh6GmshIO4readERKSs+0x173)
[0x4c1bb3]
[ubuntu:03877] [ 8]
/mnt/hgfs/E/code/libmesh-0.7.1/libmesh/lib/i686-pc-linux-gnu_opt/libmesh.so(_ZN7libMesh16UnstructuredMesh4readERKSsPNS_8MeshDataEb+0x13d6)
[0x5c7c56]
[ubuntu:03877] [ 9] ./main-opt(_Z23shell_homogenization_3DR6GetPot+0x2eae)
[0x809db4e]
[ubuntu:03877] [10] ./main-opt(main+0x7bb) [0x80b4c6b]
[ubuntu:03877] [11] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0x1740bd6]
[ubuntu:03877] [12] ./main-opt() [0x8062301]
[ubuntu:03877] *** End of error message ***
Aborted

-- 
Cai Yuanwu  蔡园武
Dept. of Engineering Mechanics,
Dalian University of Technology,
Dalian 116024, China
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to