Skip to content

Compilation issue  #99

Description

@SeiDPierre

Hi everyone,
I have trouble compiling ParMmg on my computer. Before compiling, both Metis and Mmg were already installed.
I followed the instructions you provided but got some issues:
The first error message I got was : metis.h could not be found. Though I previously set the path with the command:
cmake -DDOWNLOAD_METIS=OFF -DMETIS_DIR=/home/pclouzet/local ..
So I manually edited the file here:
CMakeFiles/libparmmg_a.dir/flags.make and added a -I/home/pclouzet/local which solved the error message.

The second error message I got was : mmg3d.h could not be found. In deed I don't have such file in mmg directory but have libmmg3d.h. So I though it was a typo and modified
#include "mmg3d.h" to #include "libmmg3d.h" in the file ParMmg/src/parmmg.h
However that last step lead to a lot of warning messages ending with error of compilation.

This last error message (see attached file) is very generic and dont provide any hint on what went wrong so I'm sharing this with the community!

My setup:
cmake version 3.22.1
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
mmg 5.7.0
metis latest version

Attached are the warning messages I got
compilation.log

Please do tell if you need any other information!
Thanks in advance
Pierre

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions