I'm just getting started and have had no problems getting a simple OpenCL test program (written in C) compiling and linking on our Linux box using the local NVIDIA cuda dev install.

However, when I try running the test application it hangs at the clGetPlatformIDs call.

I've checked in /etc/OpenCL/vendors and can see a single nvidia.icd file containing a reference to libcuda.so - and this DLL exists and is readable in /usr/lib.

I've also confirmed that simple native cuda test programs compile and run on this machine (containing a Tesla C2050 card) without any issue.

So as far as I can tell, everything is set up fine and should be working.

Is anyone please able to advise as to why the call to clGetPlatformIDs is not returning?

Thanks in advance!