8000 Comments about building, test and installation · Issue #168 · kahypar/kahypar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Comments about building, test and installation #168
Open
@MoiseRousseau

Description

@MoiseRousseau

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:

  1. 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()
  1. 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 ?
  2. 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

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

      0