[MATLAB PCT] Unable to use all of the available cores with parfor.

5 visualizaciones (últimos 30 días)
Shan Dou
Shan Dou el 7 de Sept. de 2015
Comentada: Shan Dou el 7 de Sept. de 2015
Hi, I am running a simple parfor tester on a small cluster that has 36 cores. The codes are shown below. Oddly, among the 36 cores that are available, I can only use up to 10 cores.
nWorker = 11;
myPool = parpool('customLocal', nWorker);
y = zeros(1000,1);
parfor n = 1 : 1000
y(n) = max(svd(randn(n)));
end
delete(myPool);
The error message looks counter-intuitive.
Error using parpool (line 111)
Failed to start a parallel pool. (For information in addition to
the causing error, validate the profile 'customLocal' in the
Cluster Profile Manager.)
Error in parfor_tester_SCRIPT (line 10)
myPool = parpool('customLocal', 11);
Caused by:
Error using parallel.internal.pool.InteractiveClient/start
(line 358)
Failed to initialize the interactive session.
Error using
parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus
(line 729)
The interactive communicating job failed with no message.
It appears to be a problem with the validation step. When I tried to validate the profile, it aborts at spmd every time. I have attached a screenshot and the error message here.
What might have caused this validation problem? How can I fix it? The version of MATLAB I am using is R2014b. Thanks ahead of time!
  2 comentarios
Edric Ellis
Edric Ellis el 7 de Sept. de 2015
Editada: Edric Ellis el 7 de Sept. de 2015
It looks like there are installation problems - from the validationDetails.txt, it seems that the workers cannot correctly access the java code required to operate. I suggest contacting MathWorks support directly about this.
Shan Dou
Shan Dou el 7 de Sept. de 2015
Thanks! :) Just sent a service request for troubleshooting.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by