Results 1 to 10 of 10

Thread: NVIDIA CUDA-10.X.XXX install

  1. #1

    Default NVIDIA CUDA-10.X.XXX install

    I am unable to use CUDA-10 on Tumbleweed. Earlier I installed CUDA from http://developer.download.nvidia.com...nsuse15/x86_64 but it broke the xorg due to NVIDIAG04/05 driver mismatch, later I had to uninstall CUDA and reinstall NVIDIA drivers. Please let me know what I need to do in order to get it working. I've logs, but they are large and can't post here or make a paste.

  2. #2
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,574

    Default Re: NVIDIA CUDA-10.X.XXX install

    What's stopping you from doing a pastebin? Do you have the susepaste rpm installed? If it doesn't seem to work, there are many places you can upload using a web browser, including:
    http://susepaste.org/
    http://paste.opensuse.org/
    http://pastebin.com/
    https://gist.github.com/
    http://paste.debian.net/
    http://paste.fedoraproject.org
    http://paste.ubuntu.com/
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,937
    Blog Entries
    2

    Default Re: NVIDIA CUDA-10.X.XXX install

    Also, it's not enough to simply state where you downloaded CUDA from...

    You also need to provide links to whatever guide you're using and a detailed description or the error itself.

    A quick search turned up the following nVidia Forums thread that might provide links to two different procedures installing CUDA 9.2, bot resulting in successes. Of course you may need to modify slightly for TW

    https://devtalk.nvidia.com/default/t...nsuse-leap-15/

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4

    Default Re: NVIDIA CUDA-10.X.XXX install

    Quote Originally Posted by mrmazda View Post
    What's stopping you from doing a pastebin? Do you have the susepaste rpm installed? If it doesn't seem to work, there are many places you can upload using a web browser, including:
    http://susepaste.org/
    http://paste.opensuse.org/
    http://pastebin.com/
    https://gist.github.com/
    http://paste.debian.net/
    http://paste.fedoraproject.org
    http://paste.ubuntu.com/
    Later in the evening I will do some regex on logs, filter unique lines and post. I repeated the procedures several times and now there is a lot of garbage in log files.

  5. #5

    Default Re: NVIDIA CUDA-10.X.XXX install

    Quote Originally Posted by tsu2 View Post
    Also, it's not enough to simply state where you downloaded CUDA from...

    You also need to provide links to whatever guide you're using and a detailed description or the error itself.

    A quick search turned up the following nVidia Forums thread that might provide links to two different procedures installing CUDA 9.2, bot resulting in successes. Of course you may need to modify slightly for TW

    https://devtalk.nvidia.com/default/t...nsuse-leap-15/

    TSU
    There is a possibility of compiling docker container, I am exploring that at the moment. I think there is some issue with YaST NVIDIA drivers and CUDA.

    I followed these documents https://docs.nvidia.com/pdf/CUDA_Installation_Guide_Linux.pdf , https://docs.nvidia.com/cuda/cuda-in...nux/index.html

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,937
    Blog Entries
    2

    Default Re: NVIDIA CUDA-10.X.XXX install

    If your intention is to run cuda in a docker container, why would you even bother with compiling unless you wanted some special, really oddball version?

    If you're just interested in running the latest, then the image should be pre-built and availaible for you... you only have to download and run it.

    Here is the web search for cuda builds on Docker Hub

    https://hub.docker.com/search?q=cuda&type=image

    Once you've downloaded it, you would then create a dockerfile to customize it for your own purposes...
    If you haven't used docker before, I have some easy, quick articles in my Wiki that can get your toes wet... the articles are the standard docker tutorials long ago, and modified for openSUSE tools and common methods. Nowadays, docker is more complex but you still have to know the basics of how to find an image on Docker Hub, download and run it, and create a dockerfile. The article on how to access a console in the container will probably still work, but is superceded by a different method docker introduced later after the article was written. Skim down to the docker section in my Wiki ToC, and concentrate on the Installation and dockerfile articles

    https://en.opensuse.org/User:Tsu2

    Keep in mind that a container image downloaded from Docker Hub may contain a stub of a specific distro which makes it portable, and can run on any distro. This means that if the image you choose is for instance build on a Debian stub instead of openSUSE, it will mean that your dockerfile modifications may require installing from Debian sources. If you want to customize your container using openSUSE sources, you'll need to find a container based on openSUSE.

    If a cuda on openSUSE container image doesn't exist, I'm sure that other openSUSE Users who follow you would appreciate your effort if you create an image based on openSUSE successfully and contribute to Docker Hub (That's very easy to do).

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7

    Default Re: NVIDIA CUDA-10.X.XXX install

    Quote Originally Posted by tsu2 View Post
    If your intention is to run cuda in a docker container, why would you even bother with compiling unless you wanted some special, really oddball version?

    If you're just interested in running the latest, then the image should be pre-built and availaible for you... you only have to download and run it.

    Here is the web search for cuda builds on Docker Hub

    https://hub.docker.com/search?q=cuda&type=image

    Once you've downloaded it, you would then create a dockerfile to customize it for your own purposes...
    If you haven't used docker before, I have some easy, quick articles in my Wiki that can get your toes wet... the articles are the standard docker tutorials long ago, and modified for openSUSE tools and common methods. Nowadays, docker is more complex but you still have to know the basics of how to find an image on Docker Hub, download and run it, and create a dockerfile. The article on how to access a console in the container will probably still work, but is superceded by a different method docker introduced later after the article was written. Skim down to the docker section in my Wiki ToC, and concentrate on the Installation and dockerfile articles

    https://en.opensuse.org/User:Tsu2

    Keep in mind that a container image downloaded from Docker Hub may contain a stub of a specific distro which makes it portable, and can run on any distro. This means that if the image you choose is for instance build on a Debian stub instead of openSUSE, it will mean that your dockerfile modifications may require installing from Debian sources. If you want to customize your container using openSUSE sources, you'll need to find a container based on openSUSE.

    If a cuda on openSUSE container image doesn't exist, I'm sure that other openSUSE Users who follow you would appreciate your effort if you create an image based on openSUSE successfully and contribute to Docker Hub (That's very easy to do).

    HTH,
    TSU
    I am making some modifications and will publish a howto when it is done. I've already built one ELK container for forwarding host logs to it with filebeat.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,520
    Blog Entries
    15

    Default Re: NVIDIA CUDA-10.X.XXX install

    Quote Originally Posted by chigurh View Post
    Later in the evening I will do some regex on logs, filter unique lines and post. I repeated the procedures several times and now there is a lot of garbage in log files.
    Hi
    Installs here fine, I don't use the included driver and skip the checks as it doesn't like gcc8...

    Code:
    ./cuda_10.0.130_410.48_linux.run --override
    
    Logging to /tmp/cuda_install_14569.log
    Using less to view the EULA.
    Do you accept the previously read EULA?
    accept/decline/quit: accept
    
    You are attempting to install on an unsupported configuration. Do you wish to continue?
    (y)es/(n)o [ default is no ]: yes
    
    Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 410.48?
    (y)es/(n)o/(q)uit: no
    
    Install the CUDA 10.0 Toolkit?
    (y)es/(n)o/(q)uit: yes
    
    Enter Toolkit Location
     [ default is /usr/local/cuda-10.0 ]: 
    
    Do you want to install a symbolic link at /usr/local/cuda?
    (y)es/(n)o/(q)uit: yes
    
    Install the CUDA 10.0 Samples?
    (y)es/(n)o/(q)uit: n
    
    Installing the CUDA Toolkit in /usr/local/cuda-10.0 ...
    
    ===========
    = Summary =
    ===========
    
    Driver:   Not Selected
    Toolkit:  Installed in /usr/local/cuda-10.0
    Samples:  Not Selected
    
    Please make sure that
     -   PATH includes /usr/local/cuda-10.0/bin
     -   LD_LIBRARY_PATH includes /usr/local/cuda-10.0/lib64, or, add /usr/local/cuda-10.0/lib64 to /etc/ld.so.conf and run ldconfig as root
    
    To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-10.0/bin
    
    Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-10.0/doc/pdf for detailed information on setting up CUDA.
    
    ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 384.00 is required for CUDA 10.0 functionality to work.
    To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
        sudo <CudaInstaller>.run -silent -driver
    
    Logfile is /tmp/cuda_install_14569.log
    I'm only using it (cuda) for rebuilding lc0 to add nvidia support, I'm currently using 418.43 with Tumbleweed.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: NVIDIA CUDA-10.X.XXX install

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Installs here fine, I don't use the included driver and skip the checks as it doesn't like gcc8...

    Code:
    ./cuda_10.0.130_410.48_linux.run --override
    
    Logging to /tmp/cuda_install_14569.log
    Using less to view the EULA.
    Do you accept the previously read EULA?
    accept/decline/quit: accept
    
    You are attempting to install on an unsupported configuration. Do you wish to continue?
    (y)es/(n)o [ default is no ]: yes
    
    Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 410.48?
    (y)es/(n)o/(q)uit: no
    
    Install the CUDA 10.0 Toolkit?
    (y)es/(n)o/(q)uit: yes
    
    Enter Toolkit Location
     [ default is /usr/local/cuda-10.0 ]: 
    
    Do you want to install a symbolic link at /usr/local/cuda?
    (y)es/(n)o/(q)uit: yes
    
    Install the CUDA 10.0 Samples?
    (y)es/(n)o/(q)uit: n
    
    Installing the CUDA Toolkit in /usr/local/cuda-10.0 ...
    
    ===========
    = Summary =
    ===========
    
    Driver:   Not Selected
    Toolkit:  Installed in /usr/local/cuda-10.0
    Samples:  Not Selected
    
    Please make sure that
     -   PATH includes /usr/local/cuda-10.0/bin
     -   LD_LIBRARY_PATH includes /usr/local/cuda-10.0/lib64, or, add /usr/local/cuda-10.0/lib64 to /etc/ld.so.conf and run ldconfig as root
    
    To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-10.0/bin
    
    Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-10.0/doc/pdf for detailed information on setting up CUDA.
    
    ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 384.00 is required for CUDA 10.0 functionality to work.
    To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
        sudo <CudaInstaller>.run -silent -driver
    
    Logfile is /tmp/cuda_install_14569.log
    I'm only using it (cuda) for rebuilding lc0 to add nvidia support, I'm currently using 418.43 with Tumbleweed.
    Awesome, I will try that now. Thank you!

  10. #10

    Default Re: NVIDIA CUDA-10.X.XXX install

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Installs here fine, I don't use the included driver and skip the checks as it doesn't like gcc8...

    Code:
    ./cuda_10.0.130_410.48_linux.run --override
    
    Logging to /tmp/cuda_install_14569.log
    Using less to view the EULA.
    Do you accept the previously read EULA?
    accept/decline/quit: accept
    
    You are attempting to install on an unsupported configuration. Do you wish to continue?
    (y)es/(n)o [ default is no ]: yes
    
    Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 410.48?
    (y)es/(n)o/(q)uit: no
    
    Install the CUDA 10.0 Toolkit?
    (y)es/(n)o/(q)uit: yes
    
    Enter Toolkit Location
     [ default is /usr/local/cuda-10.0 ]: 
    
    Do you want to install a symbolic link at /usr/local/cuda?
    (y)es/(n)o/(q)uit: yes
    
    Install the CUDA 10.0 Samples?
    (y)es/(n)o/(q)uit: n
    
    Installing the CUDA Toolkit in /usr/local/cuda-10.0 ...
    
    ===========
    = Summary =
    ===========
    
    Driver:   Not Selected
    Toolkit:  Installed in /usr/local/cuda-10.0
    Samples:  Not Selected
    
    Please make sure that
     -   PATH includes /usr/local/cuda-10.0/bin
     -   LD_LIBRARY_PATH includes /usr/local/cuda-10.0/lib64, or, add /usr/local/cuda-10.0/lib64 to /etc/ld.so.conf and run ldconfig as root
    
    To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-10.0/bin
    
    Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-10.0/doc/pdf for detailed information on setting up CUDA.
    
    ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 384.00 is required for CUDA 10.0 functionality to work.
    To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
        sudo <CudaInstaller>.run -silent -driver
    
    Logfile is /tmp/cuda_install_14569.log
    I'm only using it (cuda) for rebuilding lc0 to add nvidia support, I'm currently using 418.43 with Tumbleweed.
    It worked, thank you.

Posting Permissions

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