Can't Run cuda programs

Hi All,
I have a Graphic Card GT218 [GeForce 210] in my pc with OS linux Mint 17.1.
I have installed nvidia-340 driver successfully and also installed cuda-toolkit-6-5.

I have execute the make command for the sample files provided in “cuda-samples/NVIDIA_CUDA-6.5_Samples”. But when i try to run them it fails for example i am uploading the output of the ./deviceQuery

amit@amit-mint:~/cuda-samples/NVIDIA_CUDA-6.5_Samples/bin/x86_64/linux/release$ ./deviceQuery
./deviceQuery Starting…

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

cudaGetDeviceCount returned 30
→ unknown error
Result = FAIL

Thanks in advance

linux mint 17 is not an officially supported linux distro for CUDA

So you mean to say that it wont work in Linux Mint. Should i revert back to ubuntu 14.04?

Reverted to Ubuntu 14.04. Still having the same problem. Any help will be appreciated.

Thank you all,

With ubuntu 14.04, use a driver installer (.run file) from [url]http://www.nvidia.com/getcuda[/url] (instead of the repo method you used) and be sure to follow the instructions in the linux getting started guide:

[url]http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#abstract[/url]

Be sure to remove the nouveau driver before installing CUDA.

Hello,

I have a cuda code with “#include<cutil.h>” that I need to compile it in MEX file.

I installed cuda 6.5, cudatoolkit_4.0_Win_[64] and gpucomputingsdk_4.0_Win_[64]. To compile cutil library I needed Visual Studio 2008. After this the Mex function on Matlab doesn’t run I have this error: “No supported compiler or SDK was found”.

Knowing that with cuda6.5 and Visual Studio 2013 I run the mexGPUExample.cu.

I hope that someone can help me.
Thanks.

Mouna