Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] nvgraph build fails when trying to build it from inside cuML #5

Closed
teju85 opened this issue May 13, 2020 · 3 comments
Closed

Comments

@teju85
Copy link
Member

teju85 commented May 13, 2020

Here's how cuml is adding nvgraph to be built from source during its compilation process.

set(NVGRAPH_DIR ${CMAKE_CURRENT_BINARY_DIR}/nvgraph CACHE STRING
  "Path to nvgraph install directory")
ExternalProject_Add(nvgraph
    GIT_REPOSITORY    https://github.com/rapidsai/nvgraph.git
    GIT_TAG           feb0c5721e6e0e27ee51b2f56fd39c7d1e805a64
    PREFIX            ${NVGRAPH_DIR}
    CMAKE_ARGS        -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
                      -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}
                      ${NVGRAPH_DIR}/src/nvgraph/cpp
    UPDATE_COMMAND    "")

add_library(nvgraphlib STATIC IMPORTED)

add_dependencies(nvgraphlib nvgraph)

set_property(TARGET nvgraphlib
  PROPERTY IMPORTED_LOCATION ${NVGRAPH_DIR}/lib64/libnvgraph.so)

(please also let us know if in case this usage is correct or not)

Attaching the error log to give more description about the issue. Tagging @afender .
error.log

@afender
Copy link
Member

afender commented May 13, 2020

What cuda version are you using?

@teju85
Copy link
Member Author

teju85 commented Jun 4, 2020

This is CUDA 11.0. Also tagging @harrism who noticed similar errors recently.

@BradReesWork
Copy link
Member

I am closing this issue since all NVGRAPH dependencies should be in RAFT at this point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants