Skip to content

Instantly share code, notes, and snippets.

@chatman
Created December 11, 2023 17:16
Show Gist options
  • Save chatman/aa7935a6ad0c928cb497b0326a1c0571 to your computer and use it in GitHub Desktop.
Save chatman/aa7935a6ad0c928cb497b0326a1c0571 to your computer and use it in GitHub Desktop.
(py310) ishan@gpu-workstation ~/code/lucene-raft/cuda (ishan/integrating-raft-and-jni) $ mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------< com.searchscale.lucene.vectorsearch:cagra-searcher-cuda >-------
[INFO] Building cagra-searcher-cuda 0.1
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- cmake:3.27.7-b1:generate (cmake-generate) @ cagra-searcher-cuda ---
[INFO] Downloading binaries to /home/ishan/code/lucene-raft/cuda/target/dependency/cmake
[INFO] Configured Artifact: com.googlecode.cmake-maven-project:cmake-binaries:linux-x86_64:3.27.7-b1:jar
[INFO] cmake-binaries-3.27.7-b1-linux-x86_64.jar already unpacked.
[INFO] Executing /home/ishan/code/lucene-raft/cuda/target/dependency/cmake/bin/cmake
-- The CXX compiler identification is GNU 12.3.1
-- The CUDA compiler identification is NVIDIA 12.0.76
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda-12/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- CPM: Adding package raft@24.02.00 (branch-24.02)
-- RAFT: No CMAKE_INSTALL_PREFIX argument detected, setting to: /home/ishan/.conda/envs/py310
-- Found CUDAToolkit: /usr/local/cuda-12/include (found version "12.0.76")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found Git: /usr/bin/git (found version "2.41.0")
-- CPM: raft: Adding package Thrust@1.17.2 (1.17.2)
CMake Deprecation Warning at build/_deps/thrust-src/CMakeLists.txt:9 (cmake_policy):
The OLD behavior for policy CMP0104 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Found Thrust: /home/ishan/code/lucene-raft/cuda/build/_deps/thrust-src/thrust/cmake/thrust-config.cmake (found version "1.17.2.0")
-- rapids-cmake [Thrust]: applied diff reroot_support.diff to fix issue: 'Support conda-forge usage of CMake rerooting [https://github.com/NVIDIA/thrust/pull/1969]'
-- rapids-cmake [Thrust]: applied diff transform_iter_with_reduce_by_key.diff to fix issue: 'Support transform iterator with reduce by key [https://github.com/NVIDIA/thrust/pull/1805]'
-- rapids-cmake [Thrust]: applied diff install_rules.diff to fix issue: 'Thrust 1.X installs incorrect files [https://github.com/NVIDIA/thrust/issues/1790]'
-- Found CUB: /home/ishan/code/lucene-raft/cuda/build/_deps/thrust-src/dependencies/cub/cub/cmake/cub-config.cmake (found suitable version "1.17.2.0", minimum required is "1.17.2.0")
-- CPM: raft: Adding package rmm@24.02 (branch-24.02)
-- RMM: RMM_LOGGING_LEVEL = 'INFO'
-- CPM: raft: rmm: Adding package fmt@10.1.1 (10.1.1)
-- Version: 10.1.0
-- Build type: Release
-- CPM: raft: rmm: Adding package spdlog@1.12.0 (v1.12.0)
-- Build spdlog: 1.12.0
-- Build type: Release
-- Generating install
-- rapids-cmake [spdlog]: applied diff nvcc_constexpr_fix.diff to fix issue: 'Fix constexpr mismatch between spdlog and fmt [https://github.com/gabime/spdlog/issues/2856]'
-- CPM: raft: rmm: Using local package libcudacxx@2.2.0.0
-- CPM: raft: Adding package NvidiaCutlass@2.10.0 (v2.10.0)
-- CMake Version: 3.27.7
-- CUDART: /usr/local/cuda-12/lib64/libcudart.so
-- CUDA Driver: /usr/local/cuda-12/lib64/stubs/libcuda.so
-- NVRTC: /usr/local/cuda-12/lib64/libnvrtc.so
-- Default Install Location: /home/ishan/.conda/envs/py310
-- CUDA Compilation Architectures: 53;60;61;70;72;75;80;86
-- Enable caching of reference results in conv unit tests
-- Enable rigorous conv problem sizes in conv unit tests
-- Using NVCC flags: -DCUTLASS_TEST_LEVEL=0;-DCUTLASS_TEST_ENABLE_CACHED_RESULTS=1;-DCUTLASS_CONV_UNIT_TEST_RIGOROUS_SIZE_ENABLED=1;-DCUTLASS_DEBUG_TRACE_LEVEL=0;$<$<BOOL:1>:-Xcompiler=-Wconversion>;$<$<BOOL:1>:-Xcompiler=-fno-strict-aliasing>
-- CUTLASS Revision: 8d83273
-- Configuring cublas ...
-- cuBLAS Disabled.
-- Configuring cuBLAS ... done.
-- Configuring cuDNN ...
-- cuDNN not found.
-- Configuring cuDNN ... done.
-- CPM: raft: Using local package cuco@0.0.1
-- Configuring done (206.1s)
CMake Warning (dev) at build/_deps/raft-src/cpp/CMakeLists.txt:254 (target_link_libraries):
The library that is being linked to, CUDA::nvToolsExt, is marked as being
deprecated by the owner. The message provided by the developer is:
nvToolsExt has been superseded by nvtx3 since CUDA 10.0 and CMake 3.25.
Use CUDA::nvtx3 and include <nvtx3/nvToolsExt.h> instead.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at build/_deps/raft-src/cpp/CMakeLists.txt:254 (target_link_libraries):
The library that is being linked to, CUDA::nvToolsExt, is marked as being
deprecated by the owner. The message provided by the developer is:
nvToolsExt has been superseded by nvtx3 since CUDA 10.0 and CMake 3.25.
Use CUDA::nvtx3 and include <nvtx3/nvToolsExt.h> instead.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done (0.1s)
-- Build files have been written to: /home/ishan/code/lucene-raft/cuda/build
[INFO]
[INFO] --- cmake:3.27.7-b1:generate (cmake-build) @ cagra-searcher-cuda ---
[INFO] Downloading binaries to /home/ishan/code/lucene-raft/cuda/target/dependency/cmake
[INFO] Configured Artifact: com.googlecode.cmake-maven-project:cmake-binaries:linux-x86_64:3.27.7-b1:jar
[INFO] cmake-binaries-3.27.7-b1-linux-x86_64.jar already unpacked.
[INFO] Executing /home/ishan/code/lucene-raft/cuda/target/dependency/cmake/bin/cmake
[ 0%] Building CXX object _deps/raft-build/CMakeFiles/raft_objs.dir/src/core/logger.cpp.o
[ 1%] Building CUDA object _deps/raft-build/CMakeFiles/raft_objs.dir/src/distance/detail/pairwise_matrix/dispatch_canberra_double_double_double_int.cu.o
[ 1%] Building CUDA object _deps/raft-build/CMakeFiles/raft_objs.dir/src/distance/detail/pairwise_matrix/dispatch_canberra_float_float_float_int.cu.o
[ 2%] Building CUDA object _deps/raft-build/CMakeFiles/raft_objs.dir/src/distance/detail/pairwise_matrix/dispatch_correlation_double_double_double_int.cu.o
[ 3%] Building CUDA object _deps/raft-build/CMakeFiles/raft_objs.dir/src/distance/detail/pairwise_matrix/dispatch_correlation_float_float_float_int.cu.o
[ 3%] Building CUDA object _deps/raft-build/CMakeFiles/raft_objs.dir/src/distance/detail/pairwise_matrix/dispatch_cosine_double_double_double_int.cu.o
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__verbose_abort(48): error #1835-D: attribute "__host__" does not apply here
Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__verbose_abort(48): error: identifier "__printf__" is undefined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__verbose_abort(48): error: too many initializer values
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__verbose_abort(49): error: expected a ";"
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/integral_constant.h(24): error: class template "cuda::std::__4::integral_constant" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/disjunction.h(48): error: alias template type "cuda::std::__4::_OrImpl<<expression>>::_Result<cuda::std::__4::false_type, _Args...>" is incompatible with the previous type of "cuda::std::__4::_MetaBase<<expression>>::_OrImpl<cuda::std::__4::false_type, _Rest...>" in the redeclaration of alias template "cuda::std::__4::_Or"
/usr/local/cuda-12/include/cuda/std/detail/libcxx/include/type_traits(500): here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/disjunction.h(60): error: class template "cuda::std::__4::disjunction" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/disjunction.h(64): error: variable template "cuda::std::__4::disjunction_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/disjunction.h(64): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_same.h(50): error: class template "cuda::std::__4::is_same" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_same.h(51): error: class template "cuda::std::__4::is_same" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_same.h(55): error: variable template "cuda::std::__4::is_same_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_same.h(55): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_const.h(34): error: class template "cuda::std::__4::remove_const" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_const.h(35): error: class template "cuda::std::__4::remove_const" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_volatile.h(33): error: class template "cuda::std::__4::remove_volatile" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_volatile.h(34): error: class template "cuda::std::__4::remove_volatile" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_cv.h(37): error: class template "cuda::std::__4::remove_cv" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_cv.h(46): error: alias template type "cuda::std::__4::__remove_cv_t<_Tp>" is incompatible with the previous type of "cuda::std::__4::remove_cv<_Tp>::type" in the redeclaration of alias template "cuda::std::__4::remove_cv_t"
/usr/local/cuda-12/include/cuda/std/detail/libcxx/include/type_traits(695): here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(26): error: class template "cuda::std::__4::__libcpp_is_floating_point" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(27): error: class "cuda::std::__4::__libcpp_is_floating_point<float>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(28): error: class "cuda::std::__4::__libcpp_is_floating_point<double>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(29): error: class "cuda::std::__4::__libcpp_is_floating_point<long double>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(31): error: class template "cuda::std::__4::is_floating_point" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(36): error: variable template "cuda::std::__4::is_floating_point_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_floating_point.h(36): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(40): error: class template "cuda::std::__4::__libcpp_is_integral" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(41): error: class "cuda::std::__4::__libcpp_is_integral<bool>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(42): error: class "cuda::std::__4::__libcpp_is_integral<char>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(43): error: class "cuda::std::__4::__libcpp_is_integral<signed char>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(44): error: class "cuda::std::__4::__libcpp_is_integral<unsigned char>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(45): error: class "cuda::std::__4::__libcpp_is_integral<wchar_t>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(50): error: class "cuda::std::__4::__libcpp_is_integral<char16_t>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(51): error: class "cuda::std::__4::__libcpp_is_integral<char32_t>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(53): error: class "cuda::std::__4::__libcpp_is_integral<short>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(54): error: class "cuda::std::__4::__libcpp_is_integral<unsigned short>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(55): error: class "cuda::std::__4::__libcpp_is_integral<int>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(56): error: class "cuda::std::__4::__libcpp_is_integral<unsigned int>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(57): error: class "cuda::std::__4::__libcpp_is_integral<long>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(58): error: class "cuda::std::__4::__libcpp_is_integral<unsigned long>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(59): error: class "cuda::std::__4::__libcpp_is_integral<long long>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(60): error: class "cuda::std::__4::__libcpp_is_integral<unsigned long long>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(62): error: class "cuda::std::__4::__libcpp_is_integral<__int128_t>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(63): error: class "cuda::std::__4::__libcpp_is_integral<__uint128_t>" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(66): error: class template "cuda::std::__4::is_integral" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(72): error: variable template "cuda::std::__4::is_integral_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_integral.h(72): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_arithmetic.h(27): error: class template "cuda::std::__4::is_arithmetic" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_arithmetic.h(33): error: variable template "cuda::std::__4::is_arithmetic_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_arithmetic.h(33): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(41): error: class template "cuda::std::__4::__libcpp_is_signed_impl" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(44): error: class template "cuda::std::__4::__libcpp_is_signed_impl" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(47): error: class template "cuda::std::__4::__libcpp_is_signed" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(49): error: class template "cuda::std::__4::__libcpp_is_signed" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(51): error: class template "cuda::std::__4::is_signed" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(55): error: variable template "cuda::std::__4::is_signed_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_signed.h(55): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(36): error: argument list for class template "cuda::std::__4::is_integral" is missing
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(36): error: type name is not allowed
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(36): error: identifier "_LIBCUDACXX_TRAIT" is undefined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(39): error: argument list for class template "cuda::std::__4::is_signed" is missing
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(39): error: type name is not allowed
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(45): error: argument list for class template "cuda::std::__4::is_floating_point" is missing
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__concepts/arithmetic.h(45): error: type name is not allowed
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(42): error: class template "cuda::std::__4::is_array" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(44): error: class template "cuda::std::__4::is_array" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(46): error: class template "cuda::std::__4::is_array" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(51): error: variable template "cuda::std::__4::is_array_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(51): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_const.h(39): error: class template "cuda::std::__4::is_const" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_const.h(40): error: class template "cuda::std::__4::is_const" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_const.h(44): error: variable template "cuda::std::__4::is_const_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_const.h(44): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(55): error: class template "cuda::std::__4::is_lvalue_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(56): error: class template "cuda::std::__4::is_lvalue_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(58): error: class template "cuda::std::__4::is_rvalue_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(59): error: class template "cuda::std::__4::is_rvalue_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(61): error: class template "cuda::std::__4::is_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(62): error: class template "cuda::std::__4::is_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(63): error: class template "cuda::std::__4::is_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(67): error: variable template "cuda::std::__4::is_lvalue_reference_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(67): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(70): error: variable template "cuda::std::__4::is_rvalue_reference_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(70): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(73): error: variable template "cuda::std::__4::is_reference_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_reference.h(73): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_function.h(40): error: class template "cuda::std::__4::is_function" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_function.h(45): error: variable template "cuda::std::__4::is_function_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_function.h(45): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_reference.h(36): error: class template "cuda::std::__4::remove_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_reference.h(37): error: class template "cuda::std::__4::remove_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_reference.h(38): error: class template "cuda::std::__4::remove_reference" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_cvref.h(40): error: class template "cuda::std::__4::__is_same_uncvref" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_cvref.h(44): error: class template "cuda::std::__4::remove_cvref" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/remove_cvref.h(48): error: alias template type "cuda::std::__4::__remove_cvref_t<_Tp>" is incompatible with the previous type of "cuda::std::__4::remove_cvref<_Tp>::type" in the redeclaration of alias template "cuda::std::__4::remove_cvref_t"
/usr/local/cuda-12/include/cuda/std/detail/libcxx/include/type_traits(1168): here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_void.h(41): error: class template "cuda::std::__4::is_void" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_void.h(46): error: variable template "cuda::std::__4::is_void_v" has already been defined
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_void.h(46): error: "constexpr" is not valid here
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_convertible.h(74): error: expected a ";"
/home/ishan/miniforge3/include/cuda/std/detail/libcxx/include/__type_traits/is_convertible.h(77): error: expected a ";"
Error limit reached.
100 errors detected in the compilation of "/home/ishan/code/lucene-raft/cuda/build/_deps/raft-src/cpp/src/distance/detail/pairwise_matrix/dispatch_cosine_double_double_double_int.cu".
Compilation terminated.
gmake[2]: *** [_deps/raft-build/CMakeFiles/raft_objs.dir/build.make:151: _deps/raft-build/CMakeFiles/raft_objs.dir/src/distance/detail/pairwise_matrix/dispatch_cosine_double_double_double_int.cu.o] Error 4
gmake[1]: *** [CMakeFiles/Makefile2:294: _deps/raft-build/CMakeFiles/raft_objs.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
[WARNING] Command: [/home/ishan/code/lucene-raft/cuda/target/dependency/cmake/bin/cmake, --build, /home/ishan/code/lucene-raft/cuda/build]
[WARNING] Directory: /home/ishan/code/lucene-raft/cuda/build
[WARNING] Environment: {MAIL=/var/spool/mail/ishan, HISTSIZE=1000, SSH_CLIENT=192.168.1.12 39388 22, SSH_CONNECTION=192.168.1.12 39388 192.168.1.10 22, PATH=/home/ishan/.conda/envs/py310/bin:/opt/apache-maven-3.9.6/bin:/home/ishan/miniforge3/bin:/opt/jdk-21.0.1/bin:/usr/local/cuda-12/bin:/home/ishan/.local/bin:/home/ishan/bin:/usr/condabin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin, CONDA_PREFIX=/home/ishan/.conda/envs/py310, LOGNAME=ishan, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:, SELINUX_USE_CURRENT_RANGE=, MAVEN_CMD_LINE_ARGS= package, _CE_M=, MINIFORGE=/home/ishan/miniforge3, JAVA_HOME=/opt/jdk-21.0.1, XDG_SESSION_ID=2, CONDA_SHLVL=2, SSH_TTY=/dev/pts/0, CUDA_HOME=/usr/local/cuda-12, EDITOR=/usr/bin/nano, CONDA_EXE=/home/ishan/miniforge3/bin/conda, HISTCONTROL=ignoredups, MOTD_SHOWN=pam, JAVA11_HOME=/opt/amazon-corretto-11.0.19.7.1-linux-x64, CONDA_DEFAULT_ENV=py310, key=value, DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus, HOSTNAME=gpu-workstation, SELINUX_ROLE_REQUESTED=, CONDA_PROMPT_MODIFIER=(py310) , SHLVL=1, XDG_DATA_DIRS=/home/ishan/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share, SHELL=/bin/bash, XDG_SESSION_CLASS=user, MAVEN_PROJECTBASEDIR=/home/ishan/code/lucene-raft/cuda, MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed, HOME=/home/ishan, JAVA21_HOME=/opt/jdk-21.0.1, DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ , TERM=xterm-256color, _CE_CONDA=, LANG=en_IN.UTF-8, LESSOPEN=||/usr/bin/lesspipe.sh %s, SELINUX_LEVEL_REQUESTED=, XDG_RUNTIME_DIR=/run/user/1000, MAVEN_HOME=/opt/apache-maven-3.9.6, OLDPWD=/home/ishan/code/lucene-raft/cuda, USER=ishan, XDG_SESSION_TYPE=tty, CONDA_PREFIX_1=/home/ishan/miniforge3, PWD=/home/ishan/code/lucene-raft/cuda, CONDA_PYTHON_EXE=/home/ishan/miniforge3/bin/python}
[WARNING] Exit code: 2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:59 min
[INFO] Finished at: 2023-12-11T22:37:36+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.googlecode.cmake-maven-project:cmake-maven-plugin:3.27.7-b1:generate (cmake-build) on project cagra-searcher-cuda: Return code: 2 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
(py310) ishan@gpu-workstation ~/code/lucene-raft/cuda (ishan/integrating-raft-and-jni) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment