OSError: libcuda.so.1

Hi there,

Does anyone why list below? I already generated tvm libs and trying to run code. Did I miss something?

Python 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49) [GCC 7.2.0] on linux Type “help”, “copyright”, “credits” or “license” for more information.

import numpy import tvm Traceback (most recent call last): File “”, line 1, in File “/home/mason_pan/dp/tvm/python/tvm/init.py”, line 25, in from ._ffi.base import TVMError, version File “/home/mason_pan/dp/tvm/python/tvm/_ffi/init.py”, line 28, in from .base import register_error File “/home/mason_pan/dp/tvm/python/tvm/_ffi/base.py”, line 58, in _LIB, _LIB_NAME = _load_lib() File “/home/mason_pan/dp/tvm/python/tvm/_ffi/base.py”, line 50, in _load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL) File “/home/mason_pan/anaconda3/lib/python3.6/ctypes/init.py”, line 348, in init self._handle = _dlopen(self._name, mode) OSError: libcuda.so.1: cannot open shared object file: No such file or directory

Thank you!

Hi there,

Can anyone help?! Thank you!

Mason

As the error indicates, you are missing libcuda, try to find the file and add it to your LD_LIBRARY_PATH