Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Can't find GPU in LAN

Asked by Luca Barbiero on 19 Jul 2013

I have some GPUs mounted on a machine which is part of a cluster, in a Local Area Network. However, after opening a matlabpool involving the machine the GPUs are mounted on, MATLAB (v 2013a) doesn't see them.

In fact gpuDevice returns an error saying

"The CUDA driver could non be loaded [...]". But I can't install the CUDA driver on the machine I'm running MATLAB from, because the installation fails, as there is no GPU in this machine, they are in the LAN.

Any help? Luca

0 Comments

Luca Barbiero

1 Answer

Answer by Edric Ellis on 22 Jul 2013

You need to install the CUDA driver on the worker machines. Once this is done, you should be able to use gpuArray and gpuDevice within PARFOR loops and SPMD blocks - but you will not be able to return gpuArray data back to the host, you must GATHER it before it returns.

0 Comments

Edric Ellis

Contact us