[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 Center および File ExchangeParallel Computing Fundamentals についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by