# deviceQuery and deviceQueryDrv  pass other CUDA programs fail

**URL:** <https://forums.developer.nvidia.com/t/devicequery-and-devicequerydrv-pass-other-cuda-programs-fail/30919>\
**Category:** CUDA Setup and Installation\
**Created:** [October 2, 2013, 10:10am UTC](https://forums.developer.nvidia.com/t/devicequery-and-devicequerydrv-pass-other-cuda-programs-fail/30919 "2013-10-02T10:10:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chippy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chippy](https://forums.developer.nvidia.com/u/chippy)\
**Post date:** [October 2, 2013, 10:10am UTC](https://forums.developer.nvidia.com/t/devicequery-and-devicequerydrv-pass-other-cuda-programs-fail/30919/1 "2013-10-02T10:10:44Z")

</div>

Recently I installed the CUDA 5.5 package on our lab’s server with Tesla C2050 runnung on CentOS release 5.9. I can compile every samples and every simple CUDA programs I wrote on it but only the deviceQuery and deviceQueryDrv runs well. The gpu is stuck and gives no response when I run other programs such as BandwidthTest . After I run other programs, even the deviceQuery itself gives me nothing unless I restart the machine.

Here is the output of deviceQuery :

1. Detected 1 CUDA Capable device(s)

and the output of deviceQueryDrv

1. CUDA Device Query (Driver API) statically linked version  
Detected 1 CUDA Capable device(s)

Could anyone shed some insight on this matter?

---

<div class="post-metadata">

**Author:** ![yige](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yige](https://forums.developer.nvidia.com/u/yige)\
**Post date:** [November 7, 2013, 5:38am UTC](https://forums.developer.nvidia.com/t/devicequery-and-devicequerydrv-pass-other-cuda-programs-fail/30919/2 "2013-11-07T05:38:37Z")

</div>

Hi, I got the same problem with you. Have you found the solution?

---

<div class="post-metadata">

**Author:** ![chippy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chippy](https://forums.developer.nvidia.com/u/chippy)\
**Post date:** [November 12, 2013, 12:56am UTC](https://forums.developer.nvidia.com/t/devicequery-and-devicequerydrv-pass-other-cuda-programs-fail/30919/3 "2013-11-12T00:56:55Z")

</div>

No, I didn’t. I installed CUDA 4.0 instead and it works fine for me

---

<div class="post-metadata">

**Author:** ![lw1](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/lw1/32/12308_2.png) [@lw1](https://forums.developer.nvidia.com/u/lw1)\
**Post date:** [November 13, 2013, 8:58am UTC](https://forums.developer.nvidia.com/t/devicequery-and-devicequerydrv-pass-other-cuda-programs-fail/30919/4 "2013-11-13T08:58:53Z")

</div>

How about command “nvidia-smi”?
