Package Details: gmsh 2.12.0-3

Git Clone URL: https://aur.archlinux.org/gmsh.git (read-only)
Package Base: gmsh
Description: An automatic 3D finite element mesh generator with pre and post-processing facilities.
Upstream URL: http://www.geuz.org/gmsh/
Licenses: custom
Submitter: S1G1
Maintainer: gborzi
Last Packager: gborzi
Votes: 39
Popularity: 1.654929
First Submitted: 2006-04-04 23:31
Last Updated: 2016-05-18 16:01

Required by (6)

Sources (5)

Latest Comments

fredericva commented on 2016-05-17 13:29

Compilation fails with GCC 6, but the Debian guys already have a (trivial) patch:

Description: Fix narrow conversion error with GCC-6
Author: Anton Gladky <gladk@debian.org>
Bug-Debian: https://bugs.debian.org/811792
Last-Update: 2016-01-30

Index: gmsh-2.12.0-source/Fltk/FlGui.cpp
===================================================================
--- gmsh-2.12.0-source.orig/Fltk/FlGui.cpp
+++ gmsh-2.12.0-source/Fltk/FlGui.cpp
@@ -370,7 +370,7 @@ FlGui::FlGui(int argc, char **argv)
// nothing to do here
#else
fl_open_display();
- static char gmsh32x32[] = {
+ static unsigned char gmsh32x32[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x40, 0x03, 0x00,
0x00, 0x40, 0x03, 0x00, 0x00, 0x20, 0x07, 0x00, 0x00, 0x20, 0x07, 0x00,
0x00, 0x10, 0x0f, 0x00, 0x00, 0x10, 0x0f, 0x00, 0x00, 0x08, 0x1f, 0x00,
@@ -384,7 +384,7 @@ FlGui::FlGui(int argc, char **argv)
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00};
graph[0]->getWindow()->icon
((const char*)XCreateBitmapFromData(fl_display, DefaultRootWindow(fl_display),
- gmsh32x32, 32, 32));
+ (char*)(gmsh32x32), 32, 32));
#endif

graph[0]->getWindow()->show(argc >0 ? 1 : 0, argv);

mickele commented on 2016-05-13 22:49

After hdf5 upgrade to 1.10 gmsh doesn't create valid med file. Downgrading to hdf5-1.8 solves the problem. So I created a package hdf5-1.8 available at https://aur.archlinux.org/packages/hdf5-1.8.
med and gmsh must be modified to link to hdf5-1.8. PKGBUILD of med-salome links to hdf5-1.8 .
To link gmsh to hdf5-1.8 I added line

-DHDF5_LIB=/opt/hdf5-1.8/lib/libhdf5.so \

to cmake command

gborzi commented on 2016-05-03 11:45

After the hdf5 upgrade the package needs to be recompiled.

mickele commented on 2016-03-30 08:48

@gborzi
Thanks for your help.
In the meantime I sent a message to gmsh mailing list asking for suggestions.

gborzi commented on 2016-03-29 21:31

@mickele
Tried opencascade 6.9.0 and 6.8.0. None worked.

gborzi commented on 2016-03-29 21:17

@mickele
Maybe it worked with the older opencascade version (6.9.0)? I don't have this version in my cache, so I'll have to download it to check.

mickele commented on 2016-03-29 20:43

Saving mesh file in med format I have the following error

_MEDmeshDatagroupOpen.c [45] : Erreur à l'ouverture du groupe
_MEDmeshDatagroupOpen.c [45] : du maillage
_MEDmeshDatagroupOpen.c [46] : meshname = "1D_6"
MEDmeshNodeCoordinateWr.c [73] : Erreur à l'ouverture du groupe
MEDmeshNodeCoordinateWr.c [73] : du maillage
MEDmeshNodeCoordinateWr.c [74] : _meshpath = ""
MEDmeshNodeWr.c [72] : Erreur d'appel de l'API
MEDmeshNodeWr.c [72] : MEDmeshNodeCoordinateWr
_MEDmeshDatagroupOpen.c [45] : Erreur à l'ouverture du groupe
_MEDmeshDatagroupOpen.c [45] : du maillage
_MEDmeshDatagroupOpen.c [46] : meshname = "1D_6"
_MEDmeshAdvancedWr.c [125] : Erreur à l'ouverture du groupe
_MEDmeshAdvancedWr.c [125] : du maillage
_MEDmeshAdvancedWr.c [126] : _meshpath = ""
MEDmeshElementWr.c [79] : Erreur d'appel de l'API
MEDmeshElementWr.c [79] : MEDmeshElementConnectivityWr
_MEDmeshDatagroupOpen.c [45] : Erreur à l'ouverture du groupe
_MEDmeshDatagroupOpen.c [45] : du maillage
_MEDmeshDatagroupOpen.c [46] : meshname = "1D_6"
_MEDmeshAdvancedWr.c [125] : Erreur à l'ouverture du groupe
_MEDmeshAdvancedWr.c [125] : du maillage
_MEDmeshAdvancedWr.c [126] : _meshpath = ""
MEDmeshElementWr.c [79] : Erreur d'appel de l'API
MEDmeshElementWr.c [79] : MEDmeshElementConnectivityWr

Some time ago the same model gave no problem in saving MED file.
Any idea about possible causes?

ian11213 commented on 2015-11-04 08:13

Many thanks - issue solved. In fact, recompile/reinstall of med seems sufficient - don't need to recompile and install gmsh again.

gborzi commented on 2015-11-04 00:27

@ian11213
You have to recompile and reinstall med, before recompiling gmsh.

ian11213 commented on 2015-11-04 00:00

As of today, attempts to run gmsh on my system (from console) gives the error: gmsh: error while loading shared libraries: libhdf5.so.9: cannot open shared object file: No such file or directory
Error persists on updating the package to the latest version. I find only
/lib64/libhdf5.settings
/lib64/libhdf5.so
/lib64/libhdf5.so.10
/lib64/libhdf5.so.10.0.1
/lib64/libhdf5_hl.so
/lib64/libhdf5_hl.so.10
/lib64/libhdf5_hl.so.10.0.1
on my system. Grateful for any help to get up and running again.

All comments