Whats the best way to install the cuda toolkit on fedora scientific spin ?

Discussion in 'Fedora' started by ryanvade, Sep 11, 2012.

  1. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,128
    Likes Received:
    376
    Trophy Points:
    83
    Hello


    I am having problems with the cuda toolkit. After installing nvcc can't find some of the header files. I am wondering if I'm installing cuda wrong.
    Since cuda needs gcc 4.4 I have to install it as a secondary version(fedora 17 uses 4.7)
    I install that as the secondary and keep it in /opt/gcc4.4.7/
    I then run the cuda toolkit installer.
    Then I try to compile the samples. They don't usually work.
    Should i do something else?
    DevynCJohnson likes this.
  2. McCody

    McCody New Member

    Messages:
    16
    Likes Received:
    5
    Trophy Points:
    0
    Go for Gcc first and then try for the cuda.. if it persist then we will try other soln..
    DevynCJohnson likes this.
  3. McCody

    McCody New Member

    Messages:
    16
    Likes Received:
    5
    Trophy Points:
    0
    add this to .bashrc:

    $PATH = “/usr/local/cuda/bin:$PATH”
    $LD_LIBRARY_PATH=”/usr/local/cuda/lib64:/usr/local/cuda/lib”

    may it help you..
    DevynCJohnson likes this.
  4. McCody

    McCody New Member

    Messages:
    16
    Likes Received:
    5
    Trophy Points:
    0
    Go for update before all this..
  5. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,128
    Likes Received:
    376
    Trophy Points:
    83
    I switched to Arch. Much easier.

    Thank you though. :)

Share This Page