Results 1 to 2 of 2

Thread: Installing Nvidia drivers, Cuda 5.5 and Pyrit [SOLVED]

  1. #1
    Join Date
    2014-Jan
    Posts
    6

    Installing Nvidia drivers, Cuda 5.5 and Pyrit [SOLVED]

    After a few days of reading many posts and threads about this subject I've decided to write my version of how I got it to work:

    1)Download cuda_5.5.22_linux_64.run from Nvidia website.

    2) apt-get purge nouveau* (To uninstall the default Nouveau driver)

    or

    apt-get --purge remove xserver-xorg-video-nouveau

    3) apt-get upate && apt-get install -y linux-headers-$(uname -r)

    Install Nvidia driver try using:
    chmod 755 cuda_5.5.22_linux_64.run
    ./cuda_5.5.22_linux_64.run -kernel-source-path=`/usr/src/linux` (check commas)

    3a)If this does not work do the following:

    apt-get install nvidia-kernel-dkms (this worked for me)

    reboot

    If blank screen type:
    nvidia-xconfig
    This should generate an xorg.conf file
    copy xorg.conf to /etc/X11/ if not already located there.

    4)If using the nvidia-kernel-dkms method then run ./cuda_5.5.22_linux_64.run again but chose not to install the nvidia driver and just the cuda toolkit.

    5)Once the cuda toolkit is installed the $PATH's need to be updated to BASH so nvcc can be run.
    Type the following in console:
    echo PATH=$PATH:/usr/local/cuda-5.5/bin >> ~/.bashrc
    echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.5/lib64:/lib >> ~/.bashrc
    echo export PATH >> ~/.bashrc
    echo export LD_LIBRARY_PATH >> ~/.bashrc
    source ~/.bashrc
    ldconfig

    6) Type nvcc -V in console to see if the cuda compiler is configured correctly.

    7) apt-get install python2.7-dev python2.7-libpcap libpcap-dev

    8)Download tar.gz files from Pyrit website:
    tar -xvzf pyrit-0.4.0.tar.gz
    tar -xvzf cpyrit-cuda-0.4.0.tar.gz

    9) Edit setup.py to change the path to nvcc. Change /usr/local/cuda-5.5 (just add the -5.5)

    10) Install Cyprit
    cd /cpyrit-cuda-0.4.0/
    python setup.py build
    python setup.py install


    11) Install Pyrit
    cd /pyrit-0.4.0/
    python setup.py build
    python setup.py install


    12) Test
    pyrit list_cores

  2. #2
    Join Date
    2015-Apr
    Posts
    1
    hello, i have a problem.
    I followed the guide and the driver installed correctly.
    when i check the configuration with "nvcc -V" I get: "bash: /usr/local/cuda-7.0/bin/nvcc: cannot execute binary file"
    can you help me please?
    thanks

Similar Threads

  1. Install Nvidia Cuda and Pyrit
    By silverwrath in forum How-To Archive
    Replies: 18
    Last Post: 2017-01-12, 22:45
  2. Help me to install nvidia cuda and pyrit and oclhashcat
    By su6z3r0 in forum General Archive
    Replies: 1
    Last Post: 2016-06-29, 21:54
  3. Nvidia Driver, Cuda Pyrit
    By wojtask12 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-10-18, 15:42

Posting Permissions

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