I’m trying to install cuDNN on my Drive PX (1). As far as I know the DrivePX comes with CUDA 7.0, so I downloaded cuDNN L4T arm64 for cuda 7.0.
I followed the instructions on how to install the cuDNN but when I tried to compile Caffe or start Theano with cuDNN enabled the linker (ld) saids that it doesn’t find cuDNN files. So I tried with
“ld -lcudnn --verbose” to check where the linker look for its libraries. Even though the LD_LIBRARY_PATH contains the cuDNN library the linker just won’t check that folder. So I basically put the .so and .a files in the folder the linker checked and it worked… kinda. It claims that I downloaded an incompatible version (I downloaded L4T arm64). So then I tried different versions of cuDNN out of desperation and found that Android version arm64 was compatible, but it was missing some library, liblog.so and libc.so. I found these on the web and put them along with the other .so files and it loaded… kinda. Here is my output now (with the android arm64 cuDNN)
attempt to open /usr/aarch64-linux-gnu/lib/libcudnn.so failed
attempt to open /usr/aarch64-linux-gnu/lib/libcudnn.a failed
attempt to open /usr/local/lib/aarch64-linux-gnu/libcudnn.so failed
attempt to open /usr/local/lib/aarch64-linux-gnu/libcudnn.a failed
attempt to open /usr/local/lib/libcudnn.so succeeded
-lcudnn (/usr/local/lib/libcudnn.so)
liblog.so needed by /usr/local/lib/libcudnn.so
found liblog.so at /lib/aarch64-linux-gnu/liblog.so
libm.so needed by /usr/local/lib/libcudnn.so
found libm.so at /usr/lib/aarch64-linux-gnu/libm.so
libc.so needed by /usr/local/lib/libcudnn.so
found libc.so at /lib/aarch64-linux-gnu/libc.so
libdl.so needed by /usr/local/lib/libcudnn.so
found libdl.so at /usr/lib/aarch64-linux-gnu/libdl.so
libc.so.6 needed by /usr/lib/aarch64-linux-gnu/libm.so
found libc.so.6 at /lib/aarch64-linux-gnu/libc.so.6
ld-linux-aarch64.so.1 needed by /usr/lib/aarch64-linux-gnu/libdl.so
found ld-linux-aarch64.so.1 at /lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
ld: warning: cannot find entry symbol _start; not setting start address
I tried starting theano with cuDNN and python keeps giving me segmentation fault.