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

1 view (last 30 days)
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 Comments
Edric Ellis
Edric Ellis on 7 Sep 2015
Edited: Edric Ellis on 7 Sep 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.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!