Cuda and cudnn install. Where is cudnn_samples_v7?











up vote
2
down vote

favorite












I am follow this to install cuda and cudnn http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html



Does the below output mean that cuda is already properly installed ? What other code must i type to check if cuda has been properly installed ?



usr@usr-P15SM:~$ ldconfig -p | grep cuda
libicudata.so.55 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libicudata.so.55
libcudart.so.7.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so.7.5
libcudart.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so
libcuda.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so.1
libcuda.so.1 (libc6) => /usr/lib/i386-linux-gnu/libcuda.so.1
libcuda.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so
libcuda.so (libc6) => /usr/lib/i386-linux-gnu/libcuda.so

usr@usr-P15SM:~$ nvidia-smi
Wed Apr 4 10:22:41 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 780M Off | 00000000:01:00.0 N/A | N/A |
| N/A 47C P8 N/A / N/A | 173MiB / 4036MiB | N/A Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+

usr@usr-P15SM:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17


But when i go to this step http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#verify,




To verify that cuDNN is installed and is running properly, compile the
mnistCUDNN sample located in the /usr/src/cudnn_samples_v7 directory
in the debian file.




but i cannot find /usr/src/cudnn_samples_v7 ? Help please easy question free points.










share|improve this question




























    up vote
    2
    down vote

    favorite












    I am follow this to install cuda and cudnn http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html



    Does the below output mean that cuda is already properly installed ? What other code must i type to check if cuda has been properly installed ?



    usr@usr-P15SM:~$ ldconfig -p | grep cuda
    libicudata.so.55 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libicudata.so.55
    libcudart.so.7.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so.7.5
    libcudart.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so
    libcuda.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so.1
    libcuda.so.1 (libc6) => /usr/lib/i386-linux-gnu/libcuda.so.1
    libcuda.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so
    libcuda.so (libc6) => /usr/lib/i386-linux-gnu/libcuda.so

    usr@usr-P15SM:~$ nvidia-smi
    Wed Apr 4 10:22:41 2018
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 384.111 Driver Version: 384.111 |
    |-------------------------------+----------------------+----------------------+
    | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
    |===============================+======================+======================|
    | 0 GeForce GTX 780M Off | 00000000:01:00.0 N/A | N/A |
    | N/A 47C P8 N/A / N/A | 173MiB / 4036MiB | N/A Default |
    +-------------------------------+----------------------+----------------------+

    +-----------------------------------------------------------------------------+
    | Processes: GPU Memory |
    | GPU PID Type Process name Usage |
    |=============================================================================|
    | 0 Not Supported |
    +-----------------------------------------------------------------------------+

    usr@usr-P15SM:~$ nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2015 NVIDIA Corporation
    Built on Tue_Aug_11_14:27:32_CDT_2015
    Cuda compilation tools, release 7.5, V7.5.17


    But when i go to this step http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#verify,




    To verify that cuDNN is installed and is running properly, compile the
    mnistCUDNN sample located in the /usr/src/cudnn_samples_v7 directory
    in the debian file.




    but i cannot find /usr/src/cudnn_samples_v7 ? Help please easy question free points.










    share|improve this question


























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am follow this to install cuda and cudnn http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html



      Does the below output mean that cuda is already properly installed ? What other code must i type to check if cuda has been properly installed ?



      usr@usr-P15SM:~$ ldconfig -p | grep cuda
      libicudata.so.55 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libicudata.so.55
      libcudart.so.7.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so.7.5
      libcudart.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so
      libcuda.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so.1
      libcuda.so.1 (libc6) => /usr/lib/i386-linux-gnu/libcuda.so.1
      libcuda.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so
      libcuda.so (libc6) => /usr/lib/i386-linux-gnu/libcuda.so

      usr@usr-P15SM:~$ nvidia-smi
      Wed Apr 4 10:22:41 2018
      +-----------------------------------------------------------------------------+
      | NVIDIA-SMI 384.111 Driver Version: 384.111 |
      |-------------------------------+----------------------+----------------------+
      | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
      | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
      |===============================+======================+======================|
      | 0 GeForce GTX 780M Off | 00000000:01:00.0 N/A | N/A |
      | N/A 47C P8 N/A / N/A | 173MiB / 4036MiB | N/A Default |
      +-------------------------------+----------------------+----------------------+

      +-----------------------------------------------------------------------------+
      | Processes: GPU Memory |
      | GPU PID Type Process name Usage |
      |=============================================================================|
      | 0 Not Supported |
      +-----------------------------------------------------------------------------+

      usr@usr-P15SM:~$ nvcc --version
      nvcc: NVIDIA (R) Cuda compiler driver
      Copyright (c) 2005-2015 NVIDIA Corporation
      Built on Tue_Aug_11_14:27:32_CDT_2015
      Cuda compilation tools, release 7.5, V7.5.17


      But when i go to this step http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#verify,




      To verify that cuDNN is installed and is running properly, compile the
      mnistCUDNN sample located in the /usr/src/cudnn_samples_v7 directory
      in the debian file.




      but i cannot find /usr/src/cudnn_samples_v7 ? Help please easy question free points.










      share|improve this question















      I am follow this to install cuda and cudnn http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html



      Does the below output mean that cuda is already properly installed ? What other code must i type to check if cuda has been properly installed ?



      usr@usr-P15SM:~$ ldconfig -p | grep cuda
      libicudata.so.55 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libicudata.so.55
      libcudart.so.7.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so.7.5
      libcudart.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so
      libcuda.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so.1
      libcuda.so.1 (libc6) => /usr/lib/i386-linux-gnu/libcuda.so.1
      libcuda.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so
      libcuda.so (libc6) => /usr/lib/i386-linux-gnu/libcuda.so

      usr@usr-P15SM:~$ nvidia-smi
      Wed Apr 4 10:22:41 2018
      +-----------------------------------------------------------------------------+
      | NVIDIA-SMI 384.111 Driver Version: 384.111 |
      |-------------------------------+----------------------+----------------------+
      | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
      | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
      |===============================+======================+======================|
      | 0 GeForce GTX 780M Off | 00000000:01:00.0 N/A | N/A |
      | N/A 47C P8 N/A / N/A | 173MiB / 4036MiB | N/A Default |
      +-------------------------------+----------------------+----------------------+

      +-----------------------------------------------------------------------------+
      | Processes: GPU Memory |
      | GPU PID Type Process name Usage |
      |=============================================================================|
      | 0 Not Supported |
      +-----------------------------------------------------------------------------+

      usr@usr-P15SM:~$ nvcc --version
      nvcc: NVIDIA (R) Cuda compiler driver
      Copyright (c) 2005-2015 NVIDIA Corporation
      Built on Tue_Aug_11_14:27:32_CDT_2015
      Cuda compilation tools, release 7.5, V7.5.17


      But when i go to this step http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#verify,




      To verify that cuDNN is installed and is running properly, compile the
      mnistCUDNN sample located in the /usr/src/cudnn_samples_v7 directory
      in the debian file.




      but i cannot find /usr/src/cudnn_samples_v7 ? Help please easy question free points.







      drivers nvidia cuda






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 4 at 9:55

























      asked Apr 4 at 8:34









      Kong

      2851618




      2851618






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          You need to download a separate file cuDNN v7.1.3 Code Samples and User Guide for Ubuntu16.04 (Deb) from the same page where you got CuDNN files, and install it with dpkg.






          share|improve this answer




























            up vote
            0
            down vote













            Nvidia SDK doc:




            2.3.2. Installing from a Debian File




            1. Install the code samples and the cuDNN Library User Guide, for example:
              sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb




            You need to download the deb file and install the code samples with the above code.






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021837%2fcuda-and-cudnn-install-where-is-cudnn-samples-v7%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              You need to download a separate file cuDNN v7.1.3 Code Samples and User Guide for Ubuntu16.04 (Deb) from the same page where you got CuDNN files, and install it with dpkg.






              share|improve this answer

























                up vote
                1
                down vote













                You need to download a separate file cuDNN v7.1.3 Code Samples and User Guide for Ubuntu16.04 (Deb) from the same page where you got CuDNN files, and install it with dpkg.






                share|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  You need to download a separate file cuDNN v7.1.3 Code Samples and User Guide for Ubuntu16.04 (Deb) from the same page where you got CuDNN files, and install it with dpkg.






                  share|improve this answer












                  You need to download a separate file cuDNN v7.1.3 Code Samples and User Guide for Ubuntu16.04 (Deb) from the same page where you got CuDNN files, and install it with dpkg.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 9 at 21:39









                  MichaelSB

                  12816




                  12816
























                      up vote
                      0
                      down vote













                      Nvidia SDK doc:




                      2.3.2. Installing from a Debian File




                      1. Install the code samples and the cuDNN Library User Guide, for example:
                        sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb




                      You need to download the deb file and install the code samples with the above code.






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        Nvidia SDK doc:




                        2.3.2. Installing from a Debian File




                        1. Install the code samples and the cuDNN Library User Guide, for example:
                          sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb




                        You need to download the deb file and install the code samples with the above code.






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Nvidia SDK doc:




                          2.3.2. Installing from a Debian File




                          1. Install the code samples and the cuDNN Library User Guide, for example:
                            sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb




                          You need to download the deb file and install the code samples with the above code.






                          share|improve this answer












                          Nvidia SDK doc:




                          2.3.2. Installing from a Debian File




                          1. Install the code samples and the cuDNN Library User Guide, for example:
                            sudo dpkg -i libcudnn7-doc_7.0.3.11-1+cuda9.0_amd64.deb




                          You need to download the deb file and install the code samples with the above code.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 25 at 23:11









                          johan456789

                          11




                          11






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021837%2fcuda-and-cudnn-install-where-is-cudnn-samples-v7%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Quarter-circle Tiles

                              build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                              Mont Emei