rapidsai / rapids-examples

33 stars 24 forks source link

Shared-dataframe unknown file type '.pyx' on 22.08 #57

Closed MikeChenfu closed 1 year ago

MikeChenfu commented 1 year ago

Hello guys, I try the Shared-dataframe example on RAPIDS 22.08 but get the error about cython. The example works well on 22.02. I have installed cython-0.29.30 by conda. Appreciate it if anyone has idea about it.

rapids-22.08) root@17c65b4b56bb:~/c_python/rapids-examples/test_new# bash compile.sh 
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- The CUDA compiler identification is NVIDIA 11.6.112
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - 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-11.6/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Downloading CPM.cmake
-- CUDA_VERSION_MAJOR: 11
-- CUDA_VERSION_MINOR: 6
-- CUDA_VERSION: 11.6
-- Found CUDAToolkit: /usr/local/cuda-11.6/include (found version "11.6.112") 
-- Found Threads: TRUE  
-- CPM: using local package cudf@22.08.00
-- CPM: using local package libcudacxx@1.7.0
-- Found Thrust: /conda/envs/rapids-22.08/include/libcudf/Thrust/thrust/cmake/thrust-config.cmake (found version "1.15.0.0") 
-- Found rmm: /conda/envs/rapids-22.08/lib/cmake/rmm/rmm-config.cmake (found version "22.8.0") 
-- Found libcudacxx: /conda/envs/rapids-22.08/lib/cmake/libcudacxx/libcudacxx-config.cmake (found version "1.7.0") 
-- Found cuco: /conda/envs/rapids-22.08/lib/cmake/cuco/cuco-config.cmake (found version "0.0.1") 
-- Found raft: /conda/envs/rapids-22.08/lib/cmake/raft/raft-config.cmake (found version "22.8.0") found components: nn distance 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_BENCHMARKS
    BUILD_TESTS

-- Build files have been written to: /root/c_python/rapids-examples/test_new/cpp/build
[ 50%] Building CUDA object CMakeFiles/shareable_dataframe.dir/src/kernel_wrapper.cu.o
[100%] Linking CUDA shared library libshareable_dataframe.so
[100%] Built target shareable_dataframe
-- Install configuration: ""
-- Installing: /usr/local/lib/libshareable_dataframe.so
-- Set runtime path of "/usr/local/lib/libshareable_dataframe.so" to ""
running build
running build_ext
building 'cudfkernel' extension
error: unknown file type '.pyx' (from 'kernel.pyx')
Traceback (most recent call last):
  File "python/python_kernel_wrapper.py", line 4, in <module>
    import cudfkernel  # Cython bindings to execute existing CUDA Kernels
ModuleNotFoundError: No module named 'cudfkernel'