[Gmsh] Gmsh crashes wile creating a mesh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Jul 1 13:15:34 CEST 2008


Moritz Nadler wrote:
> Thanks for your quick reply!
> 
> that's what I get when I try what you told me:
> 
> moritz at skynet:~$ gmsh test2.geo -2
> Info    : Increasing process stack size (8192 kB < 16 MB)
> Info    : 'gmsh test2.geo -2 ' started on Mon Jun 30 22:47:24 2008
> Info    : Reading 'test2.geo'
> Info    : Read 'test2.geo'
> Info    : Meshing 1D...
> Info    : Meshing curve 1
> Killed
> moritz at skynet:~$ gmsh -rand 1.e-8 test2.geo -2
> Info    : Increasing process stack size (8192 kB < 16 MB)
> Info    : 'gmsh -rand 1.e-8 test2.geo -2 ' started on Mon Jun 30 
> 23:02:32 2008
> Info    : Reading 'test2.geo'
> Info    : Read 'test2.geo'
> Info    : Meshing 1D...
> Info    : Meshing curve 1
> Killed
> 

Wow, it seems to crash in the 1-D mesh: this is unprecedented :-)

Can you make sure that you don't have a global option setting the 
characteristic length to some impossibly small value? (i.e., remove the 
~/.gmsh-options file)

If not, does it also crash with the latest precompiled version 
distributed on the web site?



> 
> I have a 32 bit only OS and the gmsh version is:
> moritz at skynet:~$ gmsh --version
> 2.0.8
> 
> Anybody any ideas?
> 
> 
> Thanks and kind regards
> 
> 
> Moritz
> 
> Christophe Geuzaine schrieb:
>> Moritz Nadler wrote:
>>> Hallo,
>>>
>>> I am new to Gmsh and failing to create new first own mesh:
>>>
>>> I have written this .geo file:
>>>
>>> clHigh = 0.00001;
>>> clLow = 0.001;
>>> Point(1) = {0,0,0,clLow};
>>> Point(2) = {0.06,0,0,clLow};
>>> Point(3) = {0.06,0.04025,0,clLow};
>>> Point(4) = {0,0.04025,0,clLow};
>>> Point(5) = {0.02,0.02,0,clHigh};
>>> Point(6) = {0.04,0.02,0,clHigh};
>>> Point(7) = {0.04,0.02025,0,clHigh};
>>> Point(8) = {0.02,0.02025,0,clHigh};
>>> 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 Loop(9) = {3,4,1,2};
>>> Line Loop(10) = {7,8,5,6};
>>> Plane Surface(11) = {9,10};
>>>
>>>
>>> this looks a bit like:
>>>
>>> 0--------------0
>>> 0              0
>>> 0              0
>>> 0   0======0   0
>>> 0              0
>>> 0              0
>>> 0--------------0
>>>
>>> if I load this file with the Gmsh GUI and click on mesh->2D (or 1D)
>>> Gmsh uses ALL my memory (2 GB) and then fills my hole swap partition 
>>> (1.4 GB) and then gets killed automatically be the OS ( Ubuntu linux 
>>> 8.04)
>>>
>>> Does anyone know what to do to the this geo file meshed?
>>>
>>
>> It seems to work fine over here (on MacOS and Linux 32 bits). But we
>> have seen similar issues on some 64 bit Linux machine. Could you try
>> with the "-rand 1.e-8" command line arguement?
>>
>>
>>
>>> thanks in advance for any help and
>>> kind regards
>>>
>>> Moritz Nadler
>>>
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gmsh
>>>
>>>
>>
>>
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine