GPU and SSH
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I just got a new machine with an NVIDIA Quadro 4000 GPU and thought I would give GPU processing a try. I have installed Arch Linux with the proprietary NVIDIA drivers and CUDA packages and MATLAB R2011a. If I locally log into the machine and run
gpuDevice
everything looks good. I then tried to remotely log into the machine. I can log remotely with ssh -X, but I cannot get MATLAB to accept keyboard input. If I log in ssh -Y I can get the keyboard to work. In both cases
gpuDevice
fails with:
??? Error using ==> feval
No device supporting CUDA was found.
Error in ==> /usr/local/matlab/R2011a/toolbox/distcomp/gpu/+parallel/+internal/+gpu/currentDeviceIndex.p>currentDeviceIndex at 7
Error in ==> /usr/local/matlab/R2011a/toolbox/distcomp/gpu/+parallel/+internal/+gpu/deviceProperties.p>deviceProperties at 8
Error in ==> GPUDevice.GPUDevice>GPUDevice.current at 34
[props, E] = parallel.internal.gpu.deviceProperties();
Error in ==> gpuDevice at 18
dev = parallel.gpu.GPUDevice.current();
Given that it doesn't work, I see that maybe I need a Tesla and not a Quadro GPU. Anyone know if I bought the wrong GPU or if it is something else.
EDIT Based on Thomas's answer I can now report that
gpuDevice
works if ssh into the machine and then launch MATLAB as root.
0 comentarios
Respuesta aceptada
Más respuestas (1)
Thomas
el 15 de Mayo de 2012
Quadro 4000 has a compute capability of 2.0 which is more than enough for MATLAB.
Your CUDA drivers do not seem to have loaded correctly.
Can you run the following command in terminal when you ssh -X into the remote machine..
deviceQuery (this gives the status of the device)
If this fails , your CUDA installation was not correct or the drivers are not loading, since it works when you log on locally..
nvidia-smi -a
4 comentarios
Thomas
el 15 de Mayo de 2012
what flavor of linux are you on? the above file references are for Ubuntu..
Ver también
Categorías
Más información sobre Get Started with GPU Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!