Hi, I’m using a laptop with a GeForce GT 525M card in Ubuntu 10.04. I can only use the Intel card for display, of course, due to the Optimus technology.
I installed the developer drivers, toolkit and SDK code samples for CUDA. However, at the first, only ‘root’ can run the CUDA-enabled applications, e.g. deviceQuery. ONLY after that, normal users are able to run the CUDA-enabled apps. I used ‘lsmod’ to see whether new modules were added in a run launched by a root. But nothing new was found. Can anyone explain this, or give me a workaround to let normal users run the CUDA-enabled apps without a first execution by root?
Since normal users can not modify /dev, and there is no nVidia devices until root executes a CUDA program, normal users can NEVER run a CUDA application before a root’s execution.
Is’t possible to add those devices at the start of the system, or just let normal users be able to add those devices?
Since normal users can not modify /dev, and there is no nVidia devices until root executes a CUDA program, normal users can NEVER run a CUDA application before a root’s execution.
Is’t possible to add those devices at the start of the system, or just let normal users be able to add those devices?
o In order to run CUDA applications, the CUDA module must be
loaded and the entries in /dev created. This may be achieved
by initializing X Windows, or by creating a script to load the
kernel module and create the entries.
o In order to run CUDA applications, the CUDA module must be
loaded and the entries in /dev created. This may be achieved
by initializing X Windows, or by creating a script to load the
kernel module and create the entries.