BIDData/BIDMat

"Something went wrong while loading BIDMat CUDA library" error

Closed this issue · 2 comments

I download the bigger bundle of BIDMat from http://bid2.berkeley.edu/bid-data-project/download/ and extract it. But when I run ./bitmat from there, I got:

"2 CUDA devices found, CUDA version 7.0
Something went wrong while loading BIDMat CUDA library"

There are a k20 and a k40 on the machine and I can see libbidmatcuda-linux-x86_64.so in the lib directory.

I found where the problem is. We have different versions of cuda sdk installed on the system and the default path: /usr/local/cuda is not cuda version 7.0. After changing the LD_LIBRARY_PATH in line 31 in bidmat script to /usr/local/cuda-7.0, the library got loaded.

I think the installation tutorial at https://github.com/BIDData/BIDMat/wiki/Installation is a little misleading as it seems that we don't need to install CUDA SDK since the large bundles include CUDA runtime libraries. However, it is actually still loading libraries from /usr/local/cuda.