culaCgesv - undefined symbol: cublasCtrsm
10 posts
• Page 1 of 1
Re:culaCgesv - undefined symbol: cublasCtrsm
The real answer to that is a little more nuanced. CULA is built against CUDA 2.3 and only utilizes the 2.3 features. However, we have exclusive access to a special CUBLAS with the 3.0 functionality (ie ctrsm) that is built against CUDA 2.3 This is why you notice that our lib/bin directories contain CUBLAS files - we are shipping this special build from Nvidia.
The reason Dan is asking for LDD output is to make sure your executable isn't using the standard 2.3 CUBLAS. It's important that you use the CUBLAS we ship, since it is nonstandard.
The solution on Linux is simple - make sure /usr/local/cula/lib[64] appears in your LD_LIBRARY_PATH before /usr/local/cuda/lib[64].
The reason Dan is asking for LDD output is to make sure your executable isn't using the standard 2.3 CUBLAS. It's important that you use the CUBLAS we ship, since it is nonstandard.
The solution on Linux is simple - make sure /usr/local/cula/lib[64] appears in your LD_LIBRARY_PATH before /usr/local/cuda/lib[64].
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
Re:culaCgesv - undefined symbol: cublasCtrsm
I ran the ldd /usr/local/cula/lib64/libcula.so and confirmed what was suspected. I edited my /etc/ld.so.conf file so that the CULA library dir was before my CUDA library dir. Then I did a quick 'sudo ldconfig' and problem solved.
Thank you for the quick response,
Jacob
Thank you for the quick response,
Jacob
- jrelles
- Posts: 2
- Joined: Wed Sep 02, 2009 10:45 pm
Re:culaCgesv - undefined symbol: cublasCtrsm
Okay, great! This is probably the most common pitfall we've encountered. The good news is that CUDA 3.0 will have the modified CUBLAS version included and at that time we will no longer need to distribute the special 2.3 CUBLAS build. We can't move to 3.0 until the final version is released, but at least we know this problem will vanish in a few months' time. Thanks for your patience.
John
John
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest