Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16462

[C++] CMake cannot find CUDA toolkit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++, GPU
    • None

    Description

      For some reason, after a conda update it seems that CMake is not able to find the CUDA toolkit anymore:

      -- Unable to find cudart library.
      CMake Error at /home/antoine/miniconda3/envs/pyarrow/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find CUDAToolkit (missing: CUDA_CUDART) (found version
        "10.1.243")
      Call Stack (most recent call first):
        /home/antoine/miniconda3/envs/pyarrow/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
        /home/antoine/miniconda3/envs/pyarrow/share/cmake-3.23/Modules/FindCUDAToolkit.cmake:818 (find_package_handle_standard_args)
        src/arrow/gpu/CMakeLists.txt:40 (find_package)
      
      
      -- Configuring incomplete, errors occurred!
      

      which is weird as the CUDA toolkit is installed as a Ubuntu package.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: