[Gmsh] gmsh segfaulting on simple file

David Colignon David.Colignon at ulg.ac.be
Wed Jun 2 07:55:54 CEST 2010


Hi,

it works perfectly over here (Gmsh 2.4.2, MacOSX), both with the GUI and on the command line.

ace35:~/Desktop > gmsh aaaa.geo -2
Info    : Running '/Applications/Gmsh.app/Contents/Resources/bin/gmsh aaaa.geo -2'
Info    : Started on Wed Jun  2 07:53:22 2010
Info    : Reading 'aaaa.geo'
Info    : Read 'aaaa.geo'
Info    : Meshing 1D...
Info    : Meshing curve 1 (Line)
Info    : Meshing curve 2 (Line)
Info    : Meshing curve 3 (Line)
Info    : Meshing curve 4 (Line)
Info    : Meshing curve 5 (Line)
Info    : Meshing curve 6 (Line)
Info    : Meshing curve 7 (Line)
Info    : Meshing curve 8 (Line)
Info    : Meshing curve 9 (Line)
Info    : Meshing curve 10 (Line)
Info    : Meshing curve 11 (Line)
Info    : Meshing curve 12 (Line)
Info    : Meshing curve 13 (Line)
Info    : Meshing curve 14 (Line)
Info    : Meshing curve 15 (Line)
Info    : Meshing curve 16 (Line)
Info    : Mesh 1D complete (0.000777 s)
Info    : Meshing 2D...
Info    : Meshing surface 21 (Plane, MeshAdapt)
Info    : Meshing surface 22 (Plane, MeshAdapt)
Info    : Mesh 2D complete (4.78395 s)
Info    : 12615 vertices 25246 elements
Info    : Writing 'aaaa.msh'
Info    : Wrote 'aaaa.msh'
Info    : Stopped on Wed Jun  2 07:53:27 2010


Regards,

Dave

-- 
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com


On 01/06/10 21:54, Crni Gorac wrote:
> Could someone please advise what is wrong with the following .geo file:
>
> /* ------------------------------------------------------------------------------
> */
>
> lc = 5.0;
>
> Point (1) = { 552.8, 0.0, 0.0, lc };
> Point (2) = { 0.0, 0.0, 0.0, lc };
> Point (3) = { 0.0, 0.0, 559.2, lc };
> Point (4) = { 549.6, 0.0, 559.2, lc };
> Point (5) = { 130.0, 0.0, 65.0, lc };
> Point (6) = { 82.0, 0.0, 225.0, lc };
> Point (7) = { 240.0, 0.0, 272.0, lc };
> Point (8) = { 290.0, 0.0, 114.0, lc };
> Point (9) = { 423.0, 0.0, 247.0, lc };
> Point (10) = { 265.0, 0.0, 296.0, lc };
> Point (11) = { 314.0, 0.0, 456.0, lc };
> Point (12) = { 472.0, 0.0, 406.0, lc };
> Point (13) = { 343.0, 548.8, 227.0, lc };
> Point (14) = { 343.0, 548.8, 332.0, lc };
> Point (15) = { 213.0, 548.8, 332.0, lc };
> Point (16) = { 213.0, 548.8, 227.0, lc };
>
> Line (1) = { 1, 2 };
> Line (2) = { 2, 3 };
> Line (3) = { 3, 4 };
> Line (4) = { 4, 1 };
> Line (5) = { 5, 6 };
> Line (6) = { 6, 7 };
> Line (7) = { 7, 8 };
> Line (8) = { 8, 5 };
> Line (9) = { 9, 10 };
> Line (10) = { 10, 11 };
> Line (11) = { 11, 12 };
> Line (12) = { 12, 9 };
> Line (13) = { 13, 14 };
> Line (14) = { 14, 15 };
> Line (15) = { 15, 16 };
> Line (16) = { 16, 13 };
>
> Line Loop (17) = { 1, 2, 3, 4 };
> Line Loop (18) = { -5, -6, -7, -8 };
> Line Loop (19) = { -9, -10, -11, -12 };
> Line Loop (20) = { 13, 14, 15, 16 };
>
> Plane Surface (21) = { 17, 18, 19 };
> Plane Surface (22) = { 20 };
>
> Physical Surface (23) = { 21 };
> Physical Surface (24) = { 22 };
>
> /* ------------------------------------------------------------------------------
> */
>
> I'm trying to use gmsh to create a mesh on some simple geometry
> (rectanlge with two holes in it, and then another rectangle), and gmsh
> in both GUI and command line mode is just segfaulting when I run 2D
> meshing.  I tried with both 2.4.2 version, and latest snapshot, built
> from source, on 64-bit Linux...
>
> Thanks.
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh