Package Details: gmsh 4.13.0-3

Git Clone URL: https://aur.archlinux.org/gmsh.git (read-only, click to copy)
Package Base: gmsh
Description: An automatic 3D finite element mesh generator with pre and post-processing facilities
Upstream URL: https://gmsh.info
Licenses: GPL-2.0-or-later
Submitter: S1G1
Maintainer: gborzi (carlosal1015, gpettinello)
Last Packager: carlosal1015
Votes: 62
Popularity: 0.95
First Submitted: 2006-04-04 23:31 (UTC)
Last Updated: 2024-05-11 14:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 21 Next › Last »

lahwaacz commented on 2020-06-23 12:19 (UTC)

Version 4.6.0 does not build in a clean chroot:

==> Extracting sources...
  -> Extracting gmsh-4.6.0-source.tgz with bsdtar
==> Starting prepare()...
==> Starting build()...
-- The CXX compiler identification is GNU 10.1.0
-- The C compiler identification is GNU 10.1.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Found 64Bit
-- Performing Test STDCXX11
-- Performing Test STDCXX11 - Success
-- Performing Test STDC99
-- Performing Test STDC99 - Success
-- Found Blas[generic]
-- Found Lapack[generic]
-- Found Mesh
-- Found Solver
-- Found Post
-- Found Plugins
-- Found Parser
-- Found Fltk
-- Using fltk-config script for Fltk 1.3
-- Found ONELAB
-- Found ONELABMetamodel
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found Jpeg
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found Zlib
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37") 
-- Found Png
-- Found Mpeg
-- Found OpenGL: /usr/lib/libOpenGL.so   
CMake Error at CMakeLists.txt:763 (message):
  Could not find GLU: disabling OpenGL support


-- Using system version of ANN
-- Found Ann[system]
-- Found ALGLIB[system]
-- Found Cairo
-- Found DIntegration
-- Found OptHom
-- Found DomHex
-- Found QuadTri
-- Found Kbipack
-- Found GMP
-- Found MathEx
-- Using system version of METIS
-- Found Metis[system]
-- Found TetGen/BR
-- Using system version of voro++
-- Found Voro++[system]
-- Found Blossom
-- Found Netgen
-- Found Bamg
-- Found Mmg3d
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so (found version "1.12.0")  
-- Found Med
-- Found Gmm
-- Found Hxt
-- Found OpenCASCADE version 7.4.0 in /usr/include/opencascade
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.10.2") 
-- Found OpenCASCADE-CAF
-- Found OpenCASCADE
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Check size of intptr_t
-- Check size of intptr_t - done
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Found Dlopen
-- Looking for linux/joystick.h
-- Looking for linux/joystick.h - found
-- Found LinuxJoystick
-- Performing Test WALL
-- Performing Test WALL - Success
-- Performing Test WCAST
-- Performing Test WCAST - Failed
-- Performing Test WDEPREC
-- Performing Test WDEPREC - Success
-- Performing Test WIND
-- Performing Test WIND - Success
-- Performing Test NOWARN
-- Performing Test NOWARN - Success
-- Performing Test NOOPT
-- Performing Test NOOPT - Success
-- 
-- Gmsh 4.6.0 has been configured for Linux64
-- 
--  * Build options: 64Bit ALGLIB[system] Ann[system] Bamg Blas[generic] Blossom Cairo DIntegration Dlopen DomHex Fltk GMP Gmm Hxt Jpeg Kbipack Lapack[generic] LinuxJoystick MathEx Med Mesh Metis[system] Mmg3d Mpeg Netgen ONELAB ONELABMetamodel OpenCASCADE OpenCASCADE-CAF OptHom Parser Plugins Png Post QuadTri Solver TetGen/BR Voro++[system] Zlib
--  * Build type: RelWithDebInfo
--  * C compiler: /usr/bin/cc
--  * C++ compiler: /usr/bin/c++
--  * Install prefix: /usr
-- 
-- Configuring incomplete, errors occurred!
See also "/build/gmsh/src/gmsh-4.6.0-source/build/CMakeFiles/CMakeOutput.log".
See also "/build/gmsh/src/gmsh-4.6.0-source/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...

gborzi commented on 2020-06-04 17:58 (UTC)

@gavmanz

I've never experienced anything similar. But I build on a 2*Xeon (6 core each) Workstation.

gavmanz commented on 2020-06-04 17:52 (UTC)

Does anyone get a bunch of errors about cc1plus being killed and your system freezing up (way more so than your usual build taking up much compute ability) during the build? I am unable to build gmsh because of this.

gborzi commented on 2020-06-04 13:53 (UTC)

@xantares

Tried "-DMMG3D_INC=/usr/include/mmg" added to the cmake line, but it fails with:

/home/gborzi/store/lab/aurbuild/gmsh/src/gmsh-4.5.6-source/Mesh/meshGRegionMMG3D.cpp:22:10: fatal error: libmmg3d.h: No such file or directory 22 | #include <libmmg3d.h> | ^~~~~~~~~~~~ compilation terminated.

I changed that line to "#include <mmg3d/libmmg3d.h>" and got

[ 0%] Building CXX object CMakeFiles/gmsh.dir/Mesh/meshGRegionMMG3D.cpp.o /home/gborzi/store/lab/aurbuild/gmsh/src/gmsh-4.5.6-source/Mesh/meshGRegionMMG3D.cpp:26:35: error: ‘MMG_pMesh’ has not been declared 26 | static void MMG2gmsh(GRegion *gr, MMG_pMesh mmg, | ^~~~~~~~~

and a bunch of others undeclared. How did you succeed in compiling with mmg 5.4.3?

xantares commented on 2020-06-04 05:40 (UTC) (edited on 2020-06-04 05:46 (UTC) by xantares)

you can pass the mmg include dir MMG3D_INC directly to cmake,

next release it will be fixed: https://gitlab.onelab.info/gmsh/gmsh/-/merge_requests/345

gborzi commented on 2020-06-03 21:58 (UTC)

@xantares

In order for cmake to use the system mmg I had to change line 955 in CMakeLists.txt. Instead of just "include" the line must have "include/mmg/mmg3d". How did you compile with system mmg? Did you change that line, and if so, how?

xantares commented on 2020-06-03 20:25 (UTC)

can you retry the mmg package ? for me it builds fine, maybe you could post the error on the mmg aur page.

gborzi commented on 2020-06-03 11:26 (UTC)

@xantares Unfortunately it fails the compilation with a bunch of error messages about mmg. I've used the mmg3d package, the mmg package (without the 3d) looks the same.

xantares commented on 2020-06-03 09:47 (UTC) (edited on 2020-06-03 09:48 (UTC) by xantares)

can you try to depend on the new mmg package ?

gborzi commented on 2020-05-15 18:52 (UTC)

@xantares Sorry, I misunderstood you before. In the meantime I've realized that ANN wasn't switched to the system one. I'm recompiling right now with system ANN.