cudnn 7 confliction problem in compiling tvm with cuda 10.0, ubuntu 18.04

I am using ubuntu 18.04 (x64), I installed cuda 10.0 with cudnn 7.6 (as suggested by Nvidia) and nvidia driver 410. I am trying to build tvm-7.0 with cuda, but Im getting the following error:

 -- Configuring done
CMake Warning at CMakeLists.txt:272 (add_library): Cannot generate a safe runtime search path for target tvm_topi because files in some directories may conflict with libraries in implicit directories: runtime library [libcudnn.so.7] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /usr/local/cuda-10.0/lib64 Some of these libraries may not be found correctly.
CMake Warning at CMakeLists.txt:271 (add_library): Cannot generate a safe runtime search path for target tvm because files in some directories may conflict with libraries in implicit directories: runtime library [libcudnn.so.7] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /usr/local/cuda-10.0/lib64 Some of these libraries may not be found correctly.
CMake Warning at CMakeLists.txt:273 (add_library): Cannot generate a safe runtime search path for target tvm_runtime because files in some directories may conflict with libraries in implicit directories: runtime library [libcudnn.so.7] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /usr/local/cuda-10.0/lib64 Some of these libraries may not be found correctly.

I have no idea about the problem.

3

1 Answer

The problem does not create any error to stop installation. There are libraries from previously installed cudnn. to solve the warning, it is enough to go /usr/lib/x86_64-linux-gnu and remove libcudnn.so.7.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like