Open
Description
Hi,
I would like to report some difficulties I had for installing KaHyPar on Digital Research Alliance of Canada clusters as a module using EasyBuild:
- GoogleTest and PyBind11 were already installed on our clusters and I had to manually modify the corresponding CMakeLists.txt to find it. Maybe it would be interesting to first found these packages on the system and if not, use those provided in the
external_tools
folder. Something such as:
find_package(GTest)
if (not GTest_FOUND)
add_subdirectory(external_tools/googletest EXCLUDE_FROM_ALL)
include_directories(SYSTEM ${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
include_directories(SYSTEM ${gtest_SOURCE_DIR}/../googlemock/include ${gtest_SOURCE_DIR}/../googlemock/)
endif()
- Configuration files for tests are hard-codded. Therefore, if the build directory is not in the extracted KaHyPar folder (such as when build with EasyBuild), tests are failing. Maybe move the configuration files in the test directory ?
- The
make install
step does not copy the Python binding library. Maybe this can be copied in/usr/lib/python3/dist-packages
?
Moise
Metadata
Metadata
Assignees
Labels
No labels