I have a machine running Ubuntu 10.04 x64 with dual tesla M2070 cards. I installed the 280.13 drivers (through the main TESLA driver page, not the dev drivers) and the 4.0.17 toolkit.
My issue is that matlab cannot see the GPU’s at all unless matlab is run with root privileges. While I can get around this with setuid, I really don’t want multiple users to have complete root access to the system while running a matlab session.
Does anyone know where along the chain the root permissions are required, so I can adjust the file permissions?
Also, when I use nvidia-smi to look at the temperature of the GPUs, it doesn’t report anything. Is this a driver bug or a quirk of the cards?
The permissions for /dev/nvidia* look correct to me. Honestly, you might want to open a ticket with MathWorks - God knows they charge enough, I’d hit them up for support.
When I reboot the machine, the entries /dev/nvidia0, /dev/nvidia1, and /dev/nvidiactl do not exist and the only way I have found to make them appear is to run nvidia-smi -q.
Apparently this is what was breaking it before, but I happened to query the cards with nvidia-smi between trying it in matlab and posting the question and didn’t catch the missing entries in /dev.