[CMake] Find.CUDA for /usr/local/cuda/lib64
Darren Weber
darren.weber.lists at gmail.com
Tue May 24 17:07:36 EDT 2011
The Find.CUDA module returns 32bit libs on a 64bit platform, is this a bug
or what?
For example, in OpenMM, it returns:
/usr/local/cuda/lib/libcublas.so
/usr/local/cuda/lib/libcufft.so
On an Ubuntu 10.04 amd64 platform with a 64bit install of the nVidia driver
and software, i.e.:
$ ls /usr/local/cuda/lib/
libcublas.so@ libcudart.so.3@ libcufft.so.3.2.16*
libcusparse.so@
libcublas.so.3@ libcudart.so.3.2.16* libcurand.so@
libcusparse.so.3@
libcublas.so.3.2.16* libcufft.so@ libcurand.so.3@
libcusparse.so.3.2.16*
libcudart.so@ libcufft.so.3@ libcurand.so.3.2.16*
[ dweber at weberT61 /data/CUDA ]$ ls /usr/local/cuda/lib64
libcublas.so@ libcudart.so.3@ libcufft.so.3.2.16*
libcusparse.so@
libcublas.so.3@ libcudart.so.3.2.16* libcurand.so@
libcusparse.so.3@
libcublas.so.3.2.16* libcufft.so@ libcurand.so.3@
libcusparse.so.3.2.16*
libcudart.so@ libcufft.so.3@ libcurand.so.3.2.16*
$ uname -m && cat /etc/*release
x86_64
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
Hope you can help to modify Find.CUDA so it will get the 64bit libs (in
preference to the 32bit libs).
Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110524/ebed9433/attachment.htm>
More information about the CMake
mailing list