اطلاعیه

Collapse
No announcement yet.

اشکال در هنگام نصب cpyrit-cuda-0.4.0 در Ubuntu 13.10

Collapse
X
 
  • Filter
  • زمان
  • Show
Clear All
new posts

  • اشکال در هنگام نصب cpyrit-cuda-0.4.0 در Ubuntu 13.10

    خیلی توی فروم های دیگه سرچ کردم اما به نتیجه نرسیدم می خوام cpyrit 4 نصب کنم که نمیشه:
    کد:
    root@Support-Pc:~/Downloads/cpyrit-cuda-0.4.0# python setup.py build
    The CUDA compiler and headers required to build kernel were not found. Trying to continue anyway...
    svn: E155007: '/root/Downloads/cpyrit-cuda-0.4.0' is not a working copy
    running build
    running build_ext
    Skipping rebuild of Nvidia CUDA kernel ...
    Building modules...
    building 'cpyrit._cpyrit_cuda' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -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.4.0"
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -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
    /usr/bin/ld: cannot find -lcuda
    collect2: error: ld returned 1 exit status
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    root@Support-Pc:~/Downloads/cpyrit-cuda-0.4.0# sudo python setup.py install
    The CUDA compiler and headers required to build kernel were not found. Trying to continue anyway...
    svn: E155007: '/root/Downloads/cpyrit-cuda-0.4.0' is not a working copy
    running install
    running build
    running build_ext
    Skipping rebuild of Nvidia CUDA kernel ...
    Building modules...
    building 'cpyrit._cpyrit_cuda' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -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.4.0"
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -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
    /usr/bin/ld: cannot find -lcuda
    collect2: error: ld returned 1 exit status
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    root@Support-Pc:~/Downloads/cpyrit-cuda-0.4.0#

  • #2
    install cuda
    apt-cache search cuda
    این نام کاربری متعلق به آقای حسین عسگری نیست .
    جهت یادآوری : هیچ موقع دست از انتقاد سازنده (نه مخرب) به عنوان یک متخصص دست برندارید چراکه همه ی ما نسبت به کشورمون مسئولیم ، نباید اجازه داده بشه یه سری افراد بنام کارهای مفید برای کشور،سرمایه های کشور رو بالا بکشن ، از جمله میلیارد ها میلیارد پول که به افرادی داده میشه که لیاقت و شایستگی تولید نرم افزار یا کارهای امنیتی ندارن وعملا به باد میره .

    Comment


    • #3
      نوشته اصلی توسط hosssein نمایش پست ها
      install cuda
      apt-cache search cuda
      Cuda از قبل روی سیستم من نصب بود اما با این حال باز هم قبول نمی کنه که cpyrit نصب کنه.
      کد:
      root@Support-Pc:~# nvcc --version
      nvcc: NVIDIA (R) Cuda compiler driver
      Copyright (c) 2005-2012 NVIDIA Corporation
      Built on Fri_Sep_21_17:28:58_PDT_2012
      Cuda compilation tools, release 5.0, V0.2.1221
      کد:
      root@Support-Pc:~#  apt-cache search cuda 
      libthrust-dev - Thrust - Parallel Algorithms Library
      nvidia-304-updates - NVIDIA binary Xorg driver, kernel module and VDPAU library
      nvidia-319-updates - NVIDIA binary Xorg driver, kernel module and VDPAU library
      libcublas5.0 - NVIDIA CUDA BLAS runtime library
      libcufft5.0 - NVIDIA CUDA FFT runtime library
      libcuinj64-5.0 - NVIDIA CUDA INJ runtime library (64-bit)
      libcurand5.0 - NVIDIA CUDA Random Numbers Generation runtime library
      libcusparse5.0 - NVIDIA CUDA Sparse Matrix runtime library
      libnpp5.0 - NVIDIA Performance Primitives runtime library
      nvidia-nsight - NVIDIA Nsight Eclipse Edition
      python3-pytools - big bag of things supplementing Python 3 standard library
      libcuinj32-5.0 - NVIDIA CUDA INJ runtime library (32-bit)
      libcudart5.0 - NVIDIA CUDA runtime library
      libcupti5.0 - NVIDIA CUDA Profiler Tools Interface runtime library
      nvidia-profiler - NVIDIA Profiler for CUDA and OpenCL
      pyrit - GPGPU-driven WPA/WPA2-PSK key cracker
      python-pytools - big bag of things supplementing Python standard library
      suricata - Next Generation Intrusion Detection and Prevention Tool
      boinc-nvidia-cuda - metapackage for CUDA-savvy BOINC client and manager
      libcupti-dev - NVIDIA CUDA Profiler Tools Interface development files
      libcupti-doc - NVIDIA CUDA Profiler Tools Interface documentation
      nvidia-cuda-dev - NVIDIA CUDA development files
      nvidia-cuda-doc - NVIDIA CUDA and OpenCL documentation
      nvidia-cuda-gdb - NVIDIA CUDA GDB
      nvidia-cuda-toolkit - NVIDIA CUDA toolkit
      nvidia-visual-profiler - NVIDIA Visual Profiler
      python-pycuda - Python module to access Nvidia‘s CUDA parallel computation API
      python-pycuda-dbg - Python module to access Nvidia‘s CUDA API (debug extensions)
      python-pycuda-doc - module to access Nvidia‘s CUDA computation API (documentation)
      python3-pycuda - Python 3 module to access Nvidia‘s CUDA parallel computation API
      python3-pycuda-dbg - Python 3 module to access Nvidia‘s CUDA API (debug extensions)
      nvidia-304 - NVIDIA binary Xorg driver, kernel module and VDPAU library
      nvidia-319 - Transitional package for nvidia-319
      libcuda1-331 - NVIDIA CUDA runtime library
      libcuda1-304 - NVIDIA CUDA runtime library
      root@Support-Pc:~#

      Comment


      • #4
        دوستان راه حلی برای این سوال من ندارید؟

        Comment


        • #5
          عزیزم بالاخره باید بسته هایی که مربوط به کتابخانه ی لازم هستن رو پیدا کنی و نصب کنی
          کتابخونه ایی که میتونه با برنامتون لینک بشه وقتی از -lcuda استفاده میکنین
          این نام کاربری متعلق به آقای حسین عسگری نیست .
          جهت یادآوری : هیچ موقع دست از انتقاد سازنده (نه مخرب) به عنوان یک متخصص دست برندارید چراکه همه ی ما نسبت به کشورمون مسئولیم ، نباید اجازه داده بشه یه سری افراد بنام کارهای مفید برای کشور،سرمایه های کشور رو بالا بکشن ، از جمله میلیارد ها میلیارد پول که به افرادی داده میشه که لیاقت و شایستگی تولید نرم افزار یا کارهای امنیتی ندارن وعملا به باد میره .

          Comment

          Working...
          X