"no cuda-capable device" when running as non-root

Hi all,

We installed two Tesla C1060 cards on an Ubuntu 10.04.1 machine (server version), and are not able to run any programs.
When running CUDA example programs we are getting “no cuda-capable device” as non-root, and the deviceQuery program gets stuck (not outputting anything).

Using sudo everything works just fine. The problem seems to be easily solved, but we are clueless.

Permissions of /dev/nv* are crw-rw-rw- - which is what we seems to be right.

Anyone has an idea?
Thanks!

Hi all,

We installed two Tesla C1060 cards on an Ubuntu 10.04.1 machine (server version), and are not able to run any programs.
When running CUDA example programs we are getting “no cuda-capable device” as non-root, and the deviceQuery program gets stuck (not outputting anything).

Using sudo everything works just fine. The problem seems to be easily solved, but we are clueless.

Permissions of /dev/nv* are crw-rw-rw- - which is what we seems to be right.

Anyone has an idea?
Thanks!

Those permissions are probably incorrect. If your users are not members of the group of the /dev/nv* files, they will have no read or write access, which seems to be the symptom you are seeing,

Those permissions are probably incorrect. If your users are not members of the group of the /dev/nv* files, they will have no read or write access, which seems to be the symptom you are seeing,

Just remember that if you will just change these files’ permissions, when you reboot the machine probably it will execute /etc/init.d/nvidia-kernel and change permissions back.
Sou you will need to edit /etc/init.d/nvidia-kernel too.

Just remember that if you will just change these files’ permissions, when you reboot the machine probably it will execute /etc/init.d/nvidia-kernel and change permissions back.
Sou you will need to edit /etc/init.d/nvidia-kernel too.

Thanks for replying! We checked the permissions on machines that work properly. All /dev/nv* show identical ownership and permissions to the ones on the problem machine.

On our problematic machine we still tried what you suggested and made the user owner of the /dev/nv* files. This didn’t help. It means that permission are not the issue.

Are there any other suggestions?

Thanks again!

Thanks for replying! We checked the permissions on machines that work properly. All /dev/nv* show identical ownership and permissions to the ones on the problem machine.

On our problematic machine we still tried what you suggested and made the user owner of the /dev/nv* files. This didn’t help. It means that permission are not the issue.

Are there any other suggestions?

Thanks again!

Is SELinux enabled? Try to disable it

Is SELinux enabled? Try to disable it

SELinux is not installed.

SELinux is not installed.