MATLAB Answers

0

r2014b cannot start parallel pool

Asked by Alex R. on 9 Nov 2014
Latest activity Answered by ALTAF KHAN on 18 Jan 2018
I'm using Windows 8.1 Pro x64 and Matlab r2014b. The windows firewall is disabled. When trying to start the local parallel pool, I get this error:
Error using parpool (line 111)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile
Manager.)
Error in parallel.internal.ui.PoolHelper.startPool (line 11)
parpool();
Caused by:
Error using parallel.internal.pool.InteractiveClient/start (line 329)
Failed to start pool.
Error using parallel.Job/submit (line 304)
All dimension arguments must be greater than zero
I also tried deleting all folders in %APPDATA%\MathWorks and also %USERPROFILE%\Documents\MATLAB but still get the same error.
I get no such error on r2014a or r2013b.
Anyone has a clue?

  3 Comments

What happens when you try to validate the profile using the Cluster Profile Manager? http://www.mathworks.co.uk/help/distcomp/clusters-and-cluster-profiles.html#brrzq8d-1
Same error (twice), as expected "All dimension arguments must be greater than zero", here's the full report:
VALIDATION DETAILS
Profile: local
Scheduler Type: Local
Stage: Cluster connection test (parcluster)
Status: Passed
Description:Validation Passed
Command Line Output:(none)
Error Report:(none)
Debug Log:(none)
Stage: Job test (createJob)
Status: Failed
Description:The validation stage encountered a MATLAB exception.
Command Line Output:(none)
Error Report:
All dimension arguments must be greater than zero
Debug Log:(none)
Stage: SPMD job test (createCommunicatingJob)
Status: Failed
Description:The validation stage encountered a MATLAB exception.
Command Line Output:(none)
Error Report:
All dimension arguments must be greater than zero
Debug Log:(none)
Stage: Pool job test (createCommunicatingJob)
Status: Skipped
Description:Validation skipped due to previous failure.
Command Line Output:(none)
Error Report:(none)
Debug Log:(none)
Stage: Parallel pool test (parpool)
Status: Skipped
Description:Validation skipped due to previous failure.
Command Line Output:(none)
Error Report:(none)
Debug Log:(none)
Doing a debug backtrace, it fails here:
parpool.m [line 104]
Pool.m [line 434]
Pool.m [line 537]
InteractiveClient.m [line 327]
Job.m [line 302]
CJSCommunicatingJob.m [line 81]
hSubmitCommunicatingJob.m [line 30]
CJSSupport.m [line 522]
Last one calls cjsPrepareForSubmission() (not an .m file), which throws an exception, caught afterwards in Job.m at line 303 and rethrown.

Sign in to comment.

6 Answers

Answer by Edric Ellis
on 12 Nov 2014
 Accepted Answer

This looks to me like a problem with licensing. Please contact install support to resolve this problem.

  2 Comments

That was enough of a pointer for me, thanks. Indeed it was a license issue! It's working fine now.
moon L
on 14 Mar 2016
can you tele me how to solve this problem

Sign in to comment.


Answer by Yuan Ma
on 11 Nov 2014

The same problem.

  0 Comments

Sign in to comment.


Answer by Erik Swan on 11 Nov 2014
Edited by Erik Swan on 11 Nov 2014

I am also having this problem. Reinstalling didn't help. Windows 8.1 x64 and MATLAB 2014b.

  0 Comments

Sign in to comment.


Answer by Nazif Çat?k on 7 Dec 2014

The same problem with windows 8.1 and windows 7, but it works on Windows 8.

  1 Comment

Try enabling in the firewall

Sign in to comment.


Answer by AI
on 25 Oct 2016

the same problem.

  0 Comments

Sign in to comment.


Answer by ALTAF KHAN on 18 Jan 2018

I am using Matlab2016a and window 10 pro. 64 bit. When I start parallel pooling (local) then it shows message "Failed to start parallel pooling". anyone has a solution?

  0 Comments

Sign in to comment.