deviceQuery fatal error

Dear sir:
I isntalled cuda 8.0 in opensuse leap42.2. when i make and run the device Query program. it gives me the following error. I have a NVS 315 card installed.

/deviceQuery Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 30
-> unknown error
Result = FAIL
ztdep@linux-c8e6:/usr/local/cuda/samples/1_Utilities/deviceQuery> cd …
ztdep@linux-c8e6:/usr/local/cuda/samples/1_Utilities> l
total 20

Could you please tell me what is the reason.

Regads

Possibly you did not follow the correct install method.

  1. Start over with a clean load of the OS. (this is not necessary in all cases, but it may be the simplest path, depending on the history of your machine, and what exactly you did)
  2. get your installers only from http://www.nvidia.com/getcuda
  3. carefully follow the instructions in the linux install guide:

http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#abstract

Note that only OpenSUSE 13.2 is an officially supported OpenSUSE distro for CUDA (indicated in the install guide)