i want to try out OpenCL so I installed the cudatoolkit_3.0_beta1 and gpucomputingsdk_3.0_beta1. My OS is Gentoo Linux 64Bit with a 2.6.32 Kernel. My NVIDIA Driver is: 195.36.03 the hardware used is a NVIDIA Geforce 8600M GT.
When I try the OpenCL examples I get the following error:
It took me the better part of a day to get this working…hopefully my experience will help someone. I can confirm that the NVIDIA GPU Computing SDK 3.0 Beta 1 only works under Gentoo with the NVIDIA drivers version 195.17 available at http://forums.nvidia.com/index.php?showtopic=149959.
To get these installed in Gentoo is a little tricky, and there is no publicly available ebuild to accomplish this…until now. This ebuild should work with both x86 and amd64 architectures. I have not tested this ebuild and do not warrant it to be suitable or fit for any use whatsoever. I’m sure it has bugs and errors. But at least it worked for me.
To get the NVIDIA GPU Computing SDK 3.0 Beta 1 working under Gentoo, you need to follow (roughly) the following steps. I apologize if I left anything out of the process:
1. First, we need to create a local Portage overlay
echo “local_overlay” > /usr/local/portage/local/profiles/repo_name
2. Now we need to enable this overlay in Portage. Add the following line to the end of /etc/make.conf
4. Extract the ebuild to our local Portage overlay. Assuming the file from the previous step was saved at /home/user/nvidia-drivers-195.17.tar.bz2, do the following
tar -xvjf /home/user/nvidia-drivers-195.17.tar.bz2
5.a. Enable the ebuild in Portage
echo “=x11-drivers/nvidia-drivers-195.17” >> /etc/portage/package.unmask
5.b. Enable the ebuild in Portage
Only for x86:
echo “=x11-drivers/nvidia-drivers-195.17 ~x86” >> /etc/portage/package.keywords
Only for amd64:
echo “=x11-drivers/nvidia-drivers-195.17 ~amd64” >> /etc/portage/package.keywords
6. Install the ebuild