[Gmsh] OpenMP + step files

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Mar 11 18:57:26 CET 2014

On 10 Mar 2014, at 04:06, Hugo Fernando Maia Milan <hugomaiamilan at hotmail.com> wrote:

> Hi,
> I'm trying to use Gmsh with OpenMP library. I found that it doesn't work when there is a .step file merged into the .geo file--if OMP_NUM_THREADS is different from 1. The errors are sparse, one time it could be Segment Fault and another time it could be "terminate called after throwing an instance of 'Standard_NoMoreObject'". In general it breaks during the 2D meshing.

Hi Hugo - Unfortunately, it's "normal" -- OpenCASCADE is not thread safe. You can thus only mesh in parallel Gmsh-native CAD models.

> For instance, you could try the demo component8_in_a_box.geo.
> I'm using Debian 7 and the info from Gmsh are:
> Version          : 2.8.4
> GUI toolkit      : FLTK 1.3.0
> License          : GNU General Public License
> Build OS         : Linux
> Build options    : 64Bit Ann Bamg Bfgs Blas(Generic) Blossom Cairo Chaco DIntegration Dlopen Fltk GMP Gmm Jpeg Kbipack Lapack(Generic) LinuxJoystick MathEx Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel OpenCascade OpenGL OptHom Parser Plugins Png Post RTree Salome Solver Tetgen(1.5) Voro3D Zlib
> Build date       : 20140309
> Build host       : hugo-debian
> Packager         : root
> Web site         : http://www.geuz.org/gmsh/
> Mailing list     : gmsh at geuz.org
> Thank you,
> Hugo Milan.
> _______________________________________________
> 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