{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/caffe/issues/95","labels_url":"https://api.github.com/repos/NVIDIA/caffe/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/caffe/issues/95/comments","events_url":"https://api.github.com/repos/NVIDIA/caffe/issues/95/events","html_url":"https://github.com/NVIDIA/caffe/issues/95","id":122622216,"number":95,"title":"caffe 0.13 will not compile with CuDNN v3 and CUDA 7","user":{"login":"alfredox10","id":11828765,"avatar_url":"https://avatars.githubusercontent.com/u/11828765?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredox10","html_url":"https://github.com/alfredox10","followers_url":"https://api.github.com/users/alfredox10/followers","following_url":"https://api.github.com/users/alfredox10/following{/other_user}","gists_url":"https://api.github.com/users/alfredox10/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredox10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredox10/subscriptions","organizations_url":"https://api.github.com/users/alfredox10/orgs","repos_url":"https://api.github.com/users/alfredox10/repos","events_url":"https://api.github.com/users/alfredox10/events{/privacy}","received_events_url":"https://api.github.com/users/alfredox10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-16T22:54:04Z","updated_at":"2015-12-17T19:01:35Z","closed_at":null,"body":"I have been having this problem for about a week now and tried everything I did before to install caffe on other systems and nothing has worked thus far. The issue is caffe will compile without CuDNN, but it will not compile with it enabled.\r\n\r\nI have already performed these steps, and still no change:\r\n1. copy CuDNN files to cuda folders\r\nlibcudnn.so.7.0.64 and libcudnn_static.a to /usr/local/cuda/lib64\r\ncudnn.h to /usr/local/cuda/include\r\n2. uncommented USE_CUDNN := 1 in caffe makefile config\r\n\r\nHere is the full dialog: http://pastebin.com/y68HnhR4\r\n\r\nCXX .build_release/src/caffe/proto/caffe.pb.cc\r\nAR -o .build_release/lib/libcaffe-nv.a\r\nLD -o .build_release/lib/libcaffe-nv.so.0.13.2\r\n/usr/bin/ld: cannot find -lcudnn\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [.build_release/lib/libcaffe-nv.so.0.13.2] Error 1\r\n\r\nI keep getting that same error over and over, and unable to fix it.\r\n\r\nFinal note, I have verified all the files are found in the paths stated. I also disabled cudnn in makefile config and compiled successfully. I also used caffe with a trained file without cudnn and everything works, even import caffe works from python."},"comment":{"url":"https://api.github.com/repos/NVIDIA/caffe/issues/comments/165549371","html_url":"https://github.com/NVIDIA/caffe/issues/95#issuecomment-165549371","issue_url":"https://api.github.com/repos/NVIDIA/caffe/issues/95","id":165549371,"user":{"login":"alfredox10","id":11828765,"avatar_url":"https://avatars.githubusercontent.com/u/11828765?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredox10","html_url":"https://github.com/alfredox10","followers_url":"https://api.github.com/users/alfredox10/followers","following_url":"https://api.github.com/users/alfredox10/following{/other_user}","gists_url":"https://api.github.com/users/alfredox10/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredox10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredox10/subscriptions","organizations_url":"https://api.github.com/users/alfredox10/orgs","repos_url":"https://api.github.com/users/alfredox10/repos","events_url":"https://api.github.com/users/alfredox10/events{/privacy}","received_events_url":"https://api.github.com/users/alfredox10/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T19:01:35Z","updated_at":"2015-12-17T19:01:35Z","body":"All right I am following the instructions on https://github.com/NVIDIA/DIGITS/blob/digits-3.0/docs/BuildCaffe.md but it doesn't say how to enable CuDNN.\r\nI ask because it seems this way builds the program differently. Should I change this line\r\nset(Caffe_HAVE_CUDNN FALSE)\r\nto TRUE in the caffe/build/CaffeConfig.cmake file? Or should I uncomment this line\r\n# USE_CUDNN := 1\r\nlike I always have in the Makefile.config?"}}