[Dune] Problem linking with Pametis / GMP

Christoph GrĂ¼ninger foss at grueninger.de
Sun Jul 23 22:48:08 CEST 2017


Hi Amal,
your issue is no linking problem, it's a CMake (configure) issue.

Your setup looks ok and our CMake doesn't smell neither. Have you
deleted your build directory and re-run CMake? CMake is caching a lot of
checks and maybe the first run was without GMP and ParMETIS?

> Also, the CMakeError.log contains the following message:
> 
> Determining if the include file parmetis.h exists failed with the following output:
> Change Dir: /home/amal/LIB/dune/dune-project/dune-grid/CMakeFiles/CMakeTmp

Is there nothing else related to the check_include_file call? Usually
there is a compiler invokation and some error output. If this is not
there, it's another pointer to caching. I'd like to see the output
error.log right afer deleting the build dir and re-running CMake.

> 
> I looked at FindParMETIS.cmake and "check_include_file(parmetis.h PARMETIS_FOUND)" fails, which results in  the "if(PARMETIS_FOUND)" not being executed.

Your analysis seems to be correct. I hope it's caching!

Bye
Christoph

-- 
[..] Mathematicians are like theologians: we regard
existence as the prime attribute of what we study.
But unlike theologians, we need not always rely upon
faith alone.                      [Lawrence Evans]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20170723/3096e048/attachment.sig>


More information about the Dune mailing list