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@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
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
