OpenCL with the packaged proprietary NVIDIA driver not working

I am trying to figure out what the prepackaged proprietary nvidia driver is missing to run compiled OpenCL programs.

So, I have the pre-packaged proprietary nvidia driver from ftp://download.nvidia.com/opensuse and the package is missing some files, like lobOpenCL.so, which I extracted from the .run file and put manually in the /usr/lib64 directory toether with creating some symlinks. I can compile my opencl programs fine (C | // // File: hello.c // - Anonymous - 3BF2vDzc - Pastebin.com, Getting started with OpenCL and GPU Computing), but when I run, the firsr opencl-related function clGetPlatformIDs returns an error code.

Again, I try to figure out what the prepackaged driver is missing. If I use the nvidia .run script driver, the problem probably does not exist. CUDA executables run fine (compiled on an other opensuse machine without nvidia card)

If anyone has hints, I would appreciate it, and I would love to see the prepackaged driver work very well, due to it’s ease of use for probably many newcomers to opensuse.

opensuse 11.1 64bit, nvidia quadrofx3700 driver version 256.53

I don’t think the drivers you’re using are the proprietary drivers from nvidia. Here’s the readme from that site…

The driver RPMs hosted in this location are entirely built, maintained and supported by Novell/SUSE.
NVIDIA hosts them as a courtesy to Novell, however all problems and support requests related to
these RPMs should be reported to Novell via their bug tracking system:
http://bugzilla.novell.com

If the issue can be reproduced using the official NVIDIA driver package from this location:
Unix Drivers Portal Page

please check and/or post to the linux discussion forum
( NVIDIA Linux - nV News Forums ). If you don’t find an answer to
your question there, you can send email (in English) to linux-bugs@nvidia.com. When emailing
linux-bugs@nvidia.com, please attach an nvidia-bug-report.log, which is generated by running
“nvidia-bug-report.sh” as the root user.

Thank you.

There’s no source code available for the 3rd party drivers, so the fact that the readme says they’re building them means they’re not the nvidia drivers. You can add the repository that has the driver and then you can install through yast.