[Gmsh] warnings are not redirected into log file

Bernd Hahnebach gmsh at b75.ch
Thu Feb 11 12:45:14 CET 2016


Works for me. Thanks very much!

Zitat von Geordie McBain <gdmcbain at freeshell.org>:

> Le 9 févr. 2016 20:12, "Bernd Hahnebach" <gmsh at b75.ch> a écrit :
>>
>> Dear GMSH user and developer,
>>
>> I'm redirecting the output of GMSH run into a logfile on linux bash. The
> following command is used.
>>
>> gmsh  /tmp/part_jacobian_geometry.brep  -3  -format unv  -o
> /tmp/part_jacobian_mesh.unv  -order 2   > /tmp/mylog
>>
>> The problem I have is Warnings are not written into the log file. They
> are still printed into the terminal. What do I need to do to redirect the
> warnings into the log file as well.
>
> Hello. An ampersand should do it (&>/tmp/myLog).
>
> https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Redirecting-Standard-Output-and-Standard-Error
>






More information about the gmsh mailing list