MATLAB Answers


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


Log in to comment.

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.


Log in to comment.

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!