Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CUDA CuBlas libs not found

I have installed drivers, toolkit, etc for Cuda_10.1.243_418.87.00. All seemed to go according to plan. However, the cublas libs are not found. I believe they are supposed to be here:

/usr/local/cuda-10.0/lib64/libcublas.so

I had thought these were installed automatically when the Toolkit was installed.

cmake-gui seems to find all other CUDA libs, which are present in the normal CUDA folder:

/usr/local/cuda-10.0/lib64/

In fact, OpenCV builds fine, even with the WITH_CUDA flag turned on, as long as WITH_CUBLAS is turned off. Other libraries are auto-detected (such as CUDA_cufft_LIBRARY /usr/local/cuda-10.1/lib64/libcufft.so)

The missing CUBLAS libs seem to include: CUDA_cublas_LIBRARY-CUDA, and_cublas_device_LIBRARY-NOTFOUND

As a result, enabling the WITH_CUBLAS flag triggers a cascade of errors. Has anyone else encountered this?