[Gmsh] interactive.cpp

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Feb 5 10:31:37 CET 2017


> On 5 Feb 2017, at 00:26, Todd Pierce <toddcpierce at gmail.com> wrote:
> 
> Hi All, 
> 
> I have decided to take a stab at creating an off-board command line interface for gmsh.  Twice I have been told that using the interactive.cpp program as a template would be a good place to start.
> 
> So, to start with, I thought I would at least compile and get the interactive.cpp program to work.  Compiling went fine but getting the program to connect to gmsh is still a mystery.
> 
> I start gmsh with the -listen argument, but what socket does the interactive program take as an argument?

It depends on how Gmsh is configured: look at the message console after launching Gmsh with -listen, it will tell you something like this:

Info    : Listening on socket '/Users/geuzaine/.gmshsock2'


>  Is that in gmsh's setup somewhere?
> 
> If I get them to talk, how do I test them?
> 
> Yes, I'm clueless, but I won't get any smarter if I don't pursue this stuff, so help is genuinely appreciated.
> 
> -Todd
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list