Shared vs static linkage of METIS and ParMETIS #64
ivan-pi
started this conversation in
General discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a reason why you prefer static linkage of the METIS and ParMETIS libraries?
HemoCell/cmake/find_parmetis.cmake
Line 26 in ccccc63
HemoCell/cmake/find_parmetis.cmake
Line 42 in ccccc63
Changing these lines to contain
parmetis
andmetis
would allow shared libraries to be used too, as shown in the Kitware FindPARMETIS file.Background of my query, on the LRZ clusters a shared ParMETIS library is available by default, but not a static one:
CMake's default order on Linux is to search for shared and then static libraries. It is possible to change this by modifying the
CMAKE_FIND_LIBRARY_SUFFIXES
variable which could be controlled by a new variable such asMETIS_USE_STATIC_LIBS
.I am aware you have a setup script for ParMETIS (https://github.com/UvaCsl/HemoCell/blob/master/external/setup.sh), but it might not be possible to use on systems without outgoing internet access (such as SuperMUC).
Beta Was this translation helpful? Give feedback.
All reactions