Problem Description: Error while loading shared Libraries:libcudart.so.8.0:cannot open Shared object file:no such file or directory
Workaround: First verify that the path in/etc/profile contains the installation path of the cuda8.0 and the corresponding library file
Export path= $PATH:/usr/local/cuda-8.0/bin
Export Ld_library_path= $LD _library_path:/usr/local/cuda-8.0/lib64
Export Library_path= $LIBRARY _path:/usr/local/cuda-8.0/lib64
$source/etc/profile
Make the configuration file effective and execute again.
If you are still prompted for the same error, execute the following command to copy the corresponding library file to/usr/lib
sudo cp/usr/local/cuda-8.0/lib64/libcudart.so.8.0/usr/local/lib/libcudart.so.8.0 && sudo ldconfig sudo cp/ usr/local/cuda-8.0/lib64/libcublas.so.8.0/usr/local/lib/libcublas.so.8.0 && sudo ldconfig sudo cp/usr/local /cuda-8.0/lib64/libcurand.so.8.0/usr/local/lib/libcurand.so.8.0 && sudo ldconfig
PS. ldconfig command is a dynamic link Library Management command that allows the dynamic link library to be shared with the system
At this point, the problem is solved, hahaha (*_^)