On 2022-03-18 21:50, Markus Blatt wrote:
Hi,while investigating several bugs [1] [2] [3] caused by the scotch transition,I started wondering why there is no libscotchmetis.so library but just libscotchmetisv3.so and libscotchmetisv5.so. The cause for the bugs seems to be that the CMake scripts only search for libscotchmetis.so.This can be fixed in dune-common by searching for the correct version. Analternative fix might be that libscotch-dev also ships a libscotchmetis.so that points to one of those.
It would be like that because if you want to use scotch, then libscotch.so is what you want to link against, not libscotchmetis.so.
libscotchmetis.so (v3 or v5) is a (partial) compatibility library for metis, so if it's metis that you want, without wanting to explicitly specify the version, then I think you want to link against libmetis.so, not libscotchmets.so.
Why is FindMETIS.cmake looking for libscotchmetis.so instead of libmetis.so?
Drew