You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then building ./build.sh libcugraph pylibcugraph cugraph --skip_cpp_tests
catches a conflict between thrust and CUB version. Possibly thrust version is a bit old see raft_thrust_version.
Thanks.
Minimum reproducible example
Please see bug description.
Relevant log output
-- Found CUB: /home/ahabbas/projects/cugraph/cpp/build/_deps/cccl-src/cub/cub/cmake/cub-config.cmake (found suitable version "2.2.0.0", minimum required is "2.2.0.0")
-- Found CCCL: /home/ahabbas/projects/cugraph/cpp/build/_deps/cccl-src/lib/cmake/cccl/cccl-config.cmake (found version "2.2.0.0")
-- rapids-cmake [CCCL]: applied diff bug_fixes.diff to fix issue: 'CCCL installs header-search.cmake files in nondeterministic order and has a typo in checking target creation that leads to duplicates'
-- rapids-cmake [CCCL]: applied diff hide_kernels.diff to fix issue: 'Mark all cub and thrust kernels with hidden visibility [https://github.com/nvidia/cccl/pulls/443]'
-- rapids-cmake [CCCL]: applied diff revert_pr_211.diff to fix issue: 'thrust::copy introduced a change in behavior that causes failures with cudaErrorInvalidValue.'
-- CPM: Adding package [email protected] (f823d30d6b08a60383266db25821074dbdbe5822)
-- rapids-cmake [cuco]: applied diff hide_kernels.diff to fix issue: 'CUCO Mark all kernels with hidden visibility [https://github.com/NVIDIA/cuCollections/pull/422]'
CMake Error at /BS/ahmed_projects/work/software/miniforge_cug/envs/cugraph/lib/rapids/cmake/thrust/thrust-config.cmake:218 (message):
The version of CUB found by CMake is not compatible with this release of
Thrust. CUB is now included in the CUDA Toolkit, so you no longer need to
use your own checkout of CUB. Pass IGNORE_CUB_VERSION_CHECK to
thrust_create_target to ignore. (CUB 2.2.0.0, Thrust 1.17.2.0).
Call Stack (most recent call first):
/BS/ahmed_projects/work/software/miniforge_cug/envs/cugraph/lib/cmake/raft/raft-dependencies.cmake:30 (thrust_create_target)
/BS/ahmed_projects/work/software/miniforge_cug/envs/cugraph/lib/cmake/raft/raft-config.cmake:83 (include)
build/cmake/CPM_0.38.5.cmake:243 (find_package)
build/cmake/CPM_0.38.5.cmake:303 (cpm_find_package)
build/_deps/rapids-cmake-src/rapids-cmake/cpm/find.cmake:189 (CPMFindPackage)
cmake/thirdparty/get_raft.cmake:41 (rapids_cpm_find)
cmake/thirdparty/get_raft.cmake:68 (find_and_configure_raft)
CMakeLists.txt:166 (include)
Were you at some point trying to build a newer version of cugraph before pinning to 23.12? This line from your build log
-- Found CUB: /home/ahabbas/projects/cugraph/cpp/build/_deps/cccl-src/cub/cub/cmake/cub-config.cmake (found suitable version "2.2.0.0", minimum required is "2.2.0.0")
indicates that your build directory has artifacts corresponding to after cugraph was updated to use CCCL 2.2, which was a change that was only made in RAPIDS 24.02 (see #4052). This is causing some sort of incompatibility between the versions of these libraries that are installed vs what is in your build.
Do you observer the same behavior with a clean build directory?
Version
23.12
Which installation method(s) does this occur on?
Source
Describe the bug.
I setup conda environment with pre-existing CUDA 12.1 with the following command
conda env create -n cugraph --file conda/environments/all_cuda-120_arch-x86_64.yaml
Then building
./build.sh libcugraph pylibcugraph cugraph --skip_cpp_tests
catches a conflict between thrust and CUB version. Possibly thrust version is a bit old see raft_thrust_version.
Thanks.
Minimum reproducible example
Please see bug description.
Relevant log output
Environment details
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: