Package Details: mmg 5.7.1-1

Git Clone URL: https://aur.archlinux.org/mmg.git (read-only, click to copy)
Package Base: mmg
Description: Anisotropic tetrahedral remesher and moving mesh generator
Upstream URL: http://www.mmgtools.org/
Licenses: GPL
Conflicts: mmg3d
Provides: mmg3d
Replaces: mmg3d
Submitter: haawda
Maintainer: None
Last Packager: haawda
Votes: 7
Popularity: 0.000201
First Submitted: 2020-06-02 22:27 (UTC)
Last Updated: 2022-12-20 14:27 (UTC)

Dependencies (13)

Required by (3)

Sources (1)

Latest Comments

1 2 3 Next › Last »

a.kudelin commented on 2023-04-06 19:14 (UTC)

Please consider adding python-mpi4py as a dependency.

bartus commented on 2021-11-08 00:58 (UTC)

With vtk>=9 find_package(VTK) in mmgConfig.cmake breaks find_pacakge(mmg) for every project (related bug report: https://bugs.archlinux.org/task/72653)

Patch fixing the issue, enabling vtk and exporting /usr/include/vtk include path to cmake projects: http://ix.io/3Ekn/diff (tested with elemrfem-git)

Merge with git am -s < <(curl -s http://ix.io/3Ekn)

bartus commented on 2021-10-28 13:34 (UTC) (edited on 2021-10-28 13:56 (UTC) by bartus)

@haada: thanks, ~btw. why drop the vtk any issue there?~ ok, now I see, vtk:9.0.3 has broken CMake config ¯\_(ツ)_/¯

bartus commented on 2021-10-23 20:01 (UTC) (edited on 2021-10-23 20:04 (UTC) by bartus)

elmerfem-git maintainer here: I would like to use automatically generated mmgConfig.cmake instead of hand crafted FindMMG.cmake but need some fix on your side as current packaging scheme result in broken mmgTargets.cmake because of missing static libs.

CMake Error at /usr/lib64/cmake/mmg/MmgTargets.cmake:123 (message):
  The imported target "Mmg::libmmg2d_a" references the file

     "/usr/lib/libmmg2d.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib64/cmake/mmg/MmgTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/cmake/mmg/mmgConfig.cmake:36 (include)

I've also reported upstream the issue mentioned by @gpettinello and created a rudimental fix for it. https://github.com/MmgTools/mmg/issues/109

Could you check out and perhaps merge this patch: http://ix.io/3CBY/diff

Merge with: git am -s < <(curl -s http://ix.io/3CBY)

gpettinello commented on 2021-10-23 10:40 (UTC) (edited on 2021-10-23 14:25 (UTC) by gpettinello)

I get an error while compiling gmsh: while linking il says that in libmmg.so there is a missing reference to vtkIOMPIImage_AutoInit_Destruct() How to fix it?

Edit: if I run ld /usr/lib/libmmg.so I get the same error. There is probably a link error

lahwaacz commented on 2021-05-06 19:52 (UTC)

@sylphio libmmg.so and other libs are linked with VTK libraries.

sylphio commented on 2021-05-06 17:13 (UTC)

Why is vtk required? As far as I can tell for the documentation of mmg, vtk is optional.

lahwaacz commented on 2021-03-01 12:08 (UTC)

Building in a clean chroot still does not work:

-- Could NOT find ELAS (missing: ELAS_INCLUDE_DIR ELAS_LIBRARY) 
CMake Warning at CMakeLists.txt:266 (MESSAGE):
  Elas is a library to solve the linear elasticity problem (see
  https://github.com/ISCDtoolbox/LinearElasticity to download it).  This
  library is needed to use the lagrangian motion option.  If you have already
  installed Elas and want to use it, please set the CMake variable or
  environment variable ELAS_DIR to your Elas directory.


CMake Error at /usr/lib/cmake/vtk-8.2/Modules/vtkGUISupportQt.cmake:19 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/vtk-8.2/vtkModuleAPI.cmake:45 (include)
  /usr/lib/cmake/vtk-8.2/vtkModuleAPI.cmake:15 (vtk_module_load)
  /usr/lib/cmake/vtk-8.2/vtkModuleAPI.cmake:152 (_vtk_module_config_recurse)
  /usr/lib64/cmake/vtk-8.2/VTKConfig.cmake:143 (vtk_module_config)
  CMakeLists.txt:284 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/build/mmg/src/mmg-5.5.2/CMakeFiles/CMakeOutput.log".
See also "/build/mmg/src/mmg-5.5.2/CMakeFiles/CMakeError.log".

saxonbeta commented on 2021-02-25 00:41 (UTC)

To compile the package, 'proj' is needed as a dependency.