Gmsh 4 package available for testing in Community Extras PPA

About the development of the FEM module/workbench.

Moderator: bernd

wafi
Posts: 82
Joined: Sat Oct 15, 2016 8:45 am

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by wafi »

Now I totally frustrated ...
I reinstalled the complete Ubuntu, because I thought I had produced some failures by my own ...
So a fresh hard disk, with a fresh Ubuntu 18.04.1 ... and ppa for daily and stable as well as for community extra ppa. First installed daily, second stable release, from the extra ppa parts of opencascade were installed automaticaly, first test, unfortunately Gmsh is missing opencascade ... rest missing libs installed via Synaptic ... second test, same failure with the 3D cantilever test file:

Code: Select all

[bug]Error : Gmsh requires OpenCASCADE to import shape [/bug]
After this I expoerted the cantilever as *.brep file and tried to open it in Gmsh directly ... same [bug]Error : Gmsh requires OpenCASCADE to import shape [/bug]
The new installed Gmsh file has now the version no 4.0.2-git

My new system:
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15611 (Git)
Build type: Release
Branch: master
Hash: 64a94ae0f7c60fc981086fe157150a9c0dca29c6
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Interesting ... no real changes to the old description.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by bernd »

The Gmsh binary package which you gone use has to be compiled with OpenCascade.

On Debian Buster the gmsh package is compiled with OpenCascade. The version is 3.0.6 This one works great for me. I have nether tested kurts ppa-community package nor to compile vrsion 4 myself.

cheers bernd
wafi
Posts: 82
Joined: Sat Oct 15, 2016 8:45 am

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by wafi »

well Bernd

I think that is the best way, and I switsched back to gmsh 3.0.6, now it is working.

Btw I tried to compile against opencascade, but ... it is just horrible with the dependencies and the descriptions to compile different packages are more like chinese language for me ...

regards
Peter
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by kkremitzki »

Thanks, I noticed this problem recently and am working on it. Now that I have the newest OpenFOAM on its way in Debian, finally taking care of gmsh is next.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by kkremitzki »

I've fixed the problem and prepared a release of Gmsh 4.1.3: https://salsa.debian.org/science-team/gmsh

Just need to build for the various Ubuntu versions and re-upload to the community PPA.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by bernd »

kkremitzki wrote: Mon Jan 28, 2019 6:46 pm Just need to build for the various Ubuntu versions and re-upload to the community PPA.
All these Ubuntu PPA stuff on launchpad is quite cool. Is there something similar for Debian?
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by kkremitzki »

bernd wrote: Wed Jan 30, 2019 8:23 am
kkremitzki wrote: Mon Jan 28, 2019 6:46 pm Just need to build for the various Ubuntu versions and re-upload to the community PPA.
All these Ubuntu PPA stuff on launchpad is quite cool. Is there something similar for Debian?
No, and it's a topic of discussion because it would be really nice to have.

P.S. There's currently a bug in Debian Unstable that causes my uploads to Launchpad to be rejected. This is delaying my uploads to the PPA, but if anyone wants to try to build the package themselves, there's https://salsa.debian.org/science-team/gmsh and https://www.freecadweb.org/wiki/GitBuildpackage.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by Kunda1 »

gmsh 4.1.4 was released (http://gmsh.info)
4.1.4 (February 3, 2019): improved ghost cell I/O; added getGhostElements,
relocateNodes, getElementType, getElementFaceNodes, getElementEdgeNodes
functions in API; small improvements and bug fixes.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by uwestoehr »

The Conda builds of FC under Windows fails with GMSH 4.x. Could a GMSH guy please heave a look at this thread?:

https://forum.freecadweb.org/viewtopic. ... 02#p284902

to help us finding the reason?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gmsh 4 package available for testing in Community Extras PPA

Post by Kunda1 »

gmsh 4.2.1 has been released. Here is the changelog since 4.1.4
4.2.1 (March 7, 2019): fixed regression for STEP files without global compound
shape; added support for reading IGES labels and colors; improved search for
shared library in Python and Julia modules; improved Plugin(MeshVolume); updates
to the reference manual.

4.2.0 (March 5, 2019): changed type of node and element tags in API to support
(very) large meshes (using size_t instead of int); new MSH4.1 revision of the
MSH file format, with support for size_t node and element tags (see the
reference manual for detailed changes); changed the logger, getPeriodicNodes and
setElementsByType API; added support for reading STEP labels and colors with OCC
CAF; changed default "General.OCCTargetUnit" value to none (i.e. use STEP file
coordinates as-is, without conversion); improved high-order mesh optimization;
added ability to import groups of nodes from MED files; extruded meshes now
fill-in periodic node information; enhanced Plugin(Distance) and
Plugin(SimplePartition); removed unmaintained plugins; removed default
dependency on PETSc; small improvements and bug fixes.

4.1.5 (February 14, 2019): improved OpenMP parallelization, STL remeshing, mesh
partitioning and high-order mesh optimization; added classifySurfaces in API;
bug fixes.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply