Results 1 to 2 of 2

Thread: Help regarding cuda toolkit and cpyrit!!

  1. #1
    Join Date
    2013-Jul
    Posts
    2

    Angry Help regarding cuda toolkit and cpyrit!!

    i have reached to point where i wana throw my laptop away, i have been trying to install cpyrit with cuda for days..
    i have successfully installed my nvidia drivers and the cuda toolkit but i cant get past this point, i would really appreciate any help,
    here are all the codes
    Code:
    root@kali:~/Pyrit/modules/cpyrit_cuda# python setup.py build
    running build
    running build_ext
    Compiling CUDA module using nvcc 8.0, V8.0.44...
    Executing '/usr/local/cuda/bin/nvcc -m64 -ccbin clang -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu'
    nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
    Building modules...
    building 'cpyrit._cpyrit_cuda' extension
    creating build
    creating build/temp.linux-x86_64-2.7
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _cpyrit_cuda.c -o build/temp.linux-x86_64-2.7/_cpyrit_cuda.o -Wall -fno-strict-aliasing -DVERSION="0.5.0"
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/cpyrit
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/_cpyrit_cuda.o -lcrypto -lcuda -lz -o build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_cuda.so
    and then this where it all goes wrong , Skipping rebuild of Nvidia CUDA kernel....
    Code:
    root@kali:~/Pyrit/modules/cpyrit_cuda# sudo python setup.py install
    running install
    running build
    running build_ext
    Skipping rebuild of Nvidia CUDA kernel ...
    Building modules...
    running install_lib
    copying build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_cuda.so -> /usr/local/lib/python2.7/dist-packages/cpyrit
    running install_egg_info
    Removing /usr/local/lib/python2.7/dist-packages/cpyrit_cuda-0.5.0.egg-info
    Writing /usr/local/lib/python2.7/dist-packages/cpyrit_cuda-0.5.0.egg-info
    and the Cuda compiler driver
    Code:
    root@kali:~# nvcc -V
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2016 NVIDIA Corporation
    Built on Sun_Sep__4_22:14:01_CDT_2016
    Cuda compilation tools, release 8.0, V8.0.44
    thanks!

  2. #2
    Join Date
    2013-Jul
    Posts
    2
    I solved it finally.

Similar Threads

  1. Nvidia cuda toolkit unavailable for installation
    By Sammy98 in forum TroubleShooting Archive
    Replies: 5
    Last Post: 2018-10-17, 19:25
  2. NVIDIA-CUDA-Toolkit $PATH and $LD_LIBRARY_PATH values.
    By lilNDN in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-09-18, 01:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •