[Gmsh] No terminal output on windows 7

Serban.Georgescu at uk.fujitsu.com Serban.Georgescu at uk.fujitsu.com
Wed Mar 14 09:50:28 CET 2012


Hi,

I think I can help with the first question.
Gmsh is compiled with an option that suppresses console output in Windows. 
However, you do get to see the output if you redirect it to some file. 
For example,

gmsh LED.geo -2 -algo "meshadapt" -3 -algo "front3d " -optimize -o LED.msh

will output nothing but if you

gmsh LED.geo -2 -algo "meshadapt" -3 -algo "front3d " -optimize -o LED.msh > output.txt

you will have the output there.

Hope it helps.
Cheers,
Serban

From: gmsh-bounces at ace20.montefiore.ulg.ac.be [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] On Behalf Of 戴??@NETEASE
Sent: Wednesday, March 14, 2012 2:35 AM
To: gmsh
Subject: [Gmsh] No terminal output on windows 7

There is a problem in my gmsh: no matter the version is 2.4.2 or 2.5.0, gmsh program cannot output the messege to the terminal directly. I can only read these messeges from GUI's messeage box...But under linux, it is completely OK.
 
Is there any one can help me?
 
Another problem is how can I write a cmd line to optimize a mesh separately? Because I want to write them in a Makefile to easy my batch operations.
For example:
LED.geo is the geometry file.
 
I write:
gmsh LED.geo -2 -algo "meshadapt" -3 -algo "front3d " -optimize -o LED.msh
 
gmsh LED.msh -3 -refine -o LED.msh
 
But I want to optimize LED.msh separately, what should I do ?
 
2012-03-14
________________________________________
戴炜锋@NETEASE

______________________________________________________________________
                                        
 Fujitsu Laboratories of Europe Limited
 Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
 Registered No. 4153469
 
 This e-mail and any attachments are for the sole use of addressee(s) and
 may contain information which is privileged and confidential. Unauthorised
 use or copying for disclosure is strictly prohibited. The fact that this
 e-mail has been scanned by Trendmicro Interscan does not guarantee that 
 it has not been intercepted or amended nor that it is virus-free.