[Gmsh] Simple crack: gmsh is fast, c++ is slow

Franco Milicchio fmilicchio at me.com
Mon Apr 27 16:05:42 CEST 2015


> 
> Have you tried by simply using the gmshVertex, gmshEdge, gmshFace classes ?
> 


Hello Christophe, 

No I can’t use them, they’re not included in the binary distribution (homebrew). And I have difficulties in making other people I’m working with compile and possibly fix compilation switches (*), so I’m stuck with the default homebrew.

By the way, what am I doing wrong with my implementation of a simple V/E/F class? I’d like to make things as simple as possible.

Thanks & Cheers!
	Franco
	/fm


(*) By default on our platforms gmsh won’t build the libraries, and won’t include gmshV/E/F classes (by a default make install). Moreover, we encounter a linking problem with PETSc (see next). 

Unfortunately I am not really eager to solve their problems by hand myself.

[ 80%] Building CXX object CMakeFiles/gmsh.dir/contrib/Salome/Partition_Spliter.cxx.o
Linking CXX executable gmsh
Undefined symbols for architecture x86_64:
  "_MPI_Abort", referenced from:
      linearSystemPETSc<fullMatrix<double> >::addToRightHandSide(int, fullMatrix<double> const&) in linearSystemPETSc.cpp.o

-- 
Franco Milicchio <fmilicchio at me.com>

DIA - Dept. of Engineering
University Roma Tre
http://plm.dia.uniroma3.it/milicchio/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150427/ea30dfc0/attachment.html>