This command (from the installation guide) only seems not enough. I still cannot find files like cudnn.h and also I cannot install the docs and samples as it complained cudnn-dev is not installed. Then I downloaded the developer version and run:
I now installed cuDNN from the .dep package and it is working fine for me. Earlier, I was trying to install cuDNN from the tar files and then installing the samples and documents from the .deb files.
I am also facing same issue.Installation Guide say “your CUDA directory path is referred to as /usr/local/cuda/”.but cuda9.0 path is /usr/local/cuda-9.0/.
my solution was to “Install cuDNN v7.0.4 Runtime Library for Ubuntu16.04” before installing “cuDNN v7.0.4 Developer Library for Ubuntu16.04 (Deb)”
when I run the command:$ sudo dpkg -i libcudnn7_7.0.5.15-1+cuda8.0_amd64.deb
I am facing this error:
dpkg: error processing archive libcudnn7_7.0.5.15-1+cuda8.0_amd64.deb (–install):
package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
libcudnn7_7.0.5.15-1+cuda8.0_amd64.deb
hi
I face the same problems
and I want to install CuDNN Development Library directly.However, somthing going wrong like following:
dpkg: dependency problems prevent configuration of libcudnn7-doc:
libcudnn7-doc depends on libcudnn7-dev; however:
Package libcudnn7-dev is not installed.
and I get idea from the former buddy:fvilca that I download the CuDNN Runtime version and install it first. It successed. and then I installed the CuDNN Developer version and it also successed.
can you please provide the link for samples and doc for cudnn-10.1-linux-x64-v7.6.2.24.tgz which contains the libraries and header files only.
The deb on ur website is only working for ubuntu 16.04 and below for package manager installation, not working for 18.04.(where installation is done by just copying the files).
Of course we can copy files from that deb. But it is not the proper way. Do you have link address like this one
Please follow the install guide. The problem can be solved.
In the following sections:
your CUDA directory path is referred to as /usr/local/cuda/
your cuDNN download path is referred to as
2.3.1. Installing From A Tar File
Navigate to your directory containing the cuDNN Tar file.
Unzip the cuDNN package.
$ tar -xzvf cudnn-10.2-linux-x64-v7.6.5.32.tgz
Copy the following files into the CUDA Toolkit directory, and change the file permissions.
$ sudo cp cuda/include/cudnn.h /usr/local/cuda/include
$ sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
$ sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
I just installed cuda 10.2 successfully and compiled the samples. The few I tested work fine.
I installed the runtime cudnn from the tar archive and copying them as above.
In fact I checked the /cuda/include and the cuda/lib64 directories and found the files properly copied.
-rwxr-xr-x 1 root root 459633080 Mar 18 01:47 libcudnn.so*
-rwxr-xr-x 1 root root 459633080 Mar 18 01:47 libcudnn.so.7*
-rwxr-xr-x 1 root root 459633080 Mar 18 01:47 libcudnn.so.7.6.5*
I then went to install the dev files of cudnn with sudo dpkg -i libcudnn7-dev_7.6.5.32-1+cuda10.2_amd64.deb
but got this:
(Reading database … 185816 files and directories currently installed.)
Preparing to unpack libcudnn7-dev_7.6.5.32-1+cuda10.2_amd64.deb …
Unpacking libcudnn7-dev (7.6.5.32-1+cuda10.2) over (7.6.5.32-1+cuda10.2) …
dpkg: dependency problems prevent configuration of libcudnn7-dev:
libcudnn7-dev depends on libcudnn7 (= 7.6.5.32-1+cuda10.2); however:
Package libcudnn7 is not installed.
dpkg: error processing package libcudnn7-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libcudnn7-dev
What?
[SOLVED]
REBOOT! after installing the libs. now examples compile.