Skip to content
New issue

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

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

Already on GitHub? # to your account

[QST] How to use RAFT installed by mamba? #2412

Open
Wang-Zm opened this issue Aug 13, 2024 · 1 comment
Open

[QST] How to use RAFT installed by mamba? #2412

Wang-Zm opened this issue Aug 13, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Wang-Zm
Copy link

Wang-Zm commented Aug 13, 2024

What is your question?

I have installed RAFT-C++ with mamba. Then I try to execute raft/cpp/template/build.sh to build the demo. But the following error reports:

CMake Error at CMakeLists.txt:19 (include):
  include could not find requested file:

    rapids-cmake


CMake Error at CMakeLists.txt:20 (include):
  include could not find requested file:

    rapids-cpm


CMake Error at CMakeLists.txt:21 (include):
  include could not find requested file:

    rapids-export


CMake Error at CMakeLists.txt:22 (include):
  include could not find requested file:

    rapids-find

Why does this happen? How can I compile and run a file which uses RAFT?

Thanks in advance!

@Wang-Zm Wang-Zm added the question Further information is requested label Aug 13, 2024
@wangzheng456123
Copy link

For my case, this error due to CMake failed to fetch RAPIDS.cmake from network, and the fetched file: raft/cpp/build/RAFT_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake is empty so CMake in raft failed to do following build step. To solve this, I copy the content of https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-${RAPIDS_VERSION_MAJOR_MINOR}/RAPIDS.cmake to the empty fetched file and then the build step success.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants