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

조회 수: 7 (최근 30일)
Shan Dou
Shan Dou 2015년 9월 7일
댓글: Shan Dou 2015년 9월 7일
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
Edric Ellis
Edric Ellis 2015년 9월 7일
편집: Edric Ellis 2015년 9월 7일
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 2015년 9월 7일
Thanks! :) Just sent a service request for troubleshooting.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by