[Gmsh] upgrading GmshClient to onelab

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Jul 9 10:34:15 CEST 2013


On 07 May 2013, at 00:55, Nigel Nunn <nnnunnn at gmail.com> wrote:

> Hi Gmsh,
> 
> Sometime before the onelab update, I used GmshClient  (from old
> GmshSocket.h) to drive our family of mpi gpu accelerated solvers
> (discontinuous Galerkin).  I hooked up a pause button to manage the
> mpi fleet, and a few parameters for adjusting runtime results passed
> back to Gmsh.
> 
> After looking at the classes in [gmsh/contrib/onelab] and
> [gmsh/projects/onelab, and the way getdp uses onelab, I am not sure
> how to begin upgrading from GmshSocket to onelab.  Can someone please
> suggest which of the classes derived from onelab client would do?
> First stage is to reproduce what we had with GmshClient :  get Gmsh to
> query our solver (mpi proc [0]) for parameters, then launch, pause and
> stop a simulation using 4 gpus on a single node (dual Xeon).
> 
> runGmshClient() from [gmsh/Common/onelabUtils.cpp] sounds promising,
> but which client?
> 

Hi Nigel - Have a look at utils/solvers/c++ and utils/solvers/python in SVN.


> thanks for any help!
> Nigel
> 
> _______________________________________________
> 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