<br>The Find.CUDA module returns 32bit libs on a 64bit platform, is this a bug or what?<br><br>For example, in OpenMM, it returns:<br><br>/usr/local/cuda/lib/libcublas.so<br>/usr/local/cuda/lib/libcufft.so<br><br>On an Ubuntu 10.04 amd64 platform with a 64bit install of the nVidia driver and software, i.e.:<br>
<br>$ ls /usr/local/cuda/lib/<br>libcublas.so@ libcudart.so.3@ libcufft.so.3.2.16* libcusparse.so@<br>libcublas.so.3@ libcudart.so.3.2.16* libcurand.so@ libcusparse.so.3@<br>libcublas.so.3.2.16* libcufft.so@ libcurand.so.3@ libcusparse.so.3.2.16*<br>
libcudart.so@ libcufft.so.3@ libcurand.so.3.2.16*<br>[ dweber@weberT61 /data/CUDA ]$ ls /usr/local/cuda/lib64<br>libcublas.so@ libcudart.so.3@ libcufft.so.3.2.16* libcusparse.so@<br>libcublas.so.3@ libcudart.so.3.2.16* libcurand.so@ libcusparse.so.3@<br>
libcublas.so.3.2.16* libcufft.so@ libcurand.so.3@ libcusparse.so.3.2.16*<br>libcudart.so@ libcufft.so.3@ libcurand.so.3.2.16*<br>$ uname -m && cat /etc/*release<br>x86_64<br>DISTRIB_ID=Ubuntu<br>
DISTRIB_RELEASE=10.04<br>DISTRIB_CODENAME=lucid<br>DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"<br><br><br>Hope you can help to modify Find.CUDA so it will get the 64bit libs (in preference to the 32bit libs).<br><br>
Thanks,<br>Darren<br><br>