MATLAB Answers

r2014b cannot start parallel pool

4 views (last 30 days)
Alex R.
Alex R. on 9 Nov 2014
Answered: 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

Edric Ellis
Edric Ellis on 10 Nov 2014
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
Alex R.
Alex R. on 10 Nov 2014
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)
Alex R.
Alex R. on 10 Nov 2014
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.

Accepted Answer

Edric Ellis
Edric Ellis on 12 Nov 2014
This looks to me like a problem with licensing. Please contact install support to resolve this problem.

  2 Comments

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

Sign in to comment.

More Answers (5)

Yuan Ma
Yuan Ma on 11 Nov 2014
The same problem.

  0 Comments

Sign in to comment.


Erik Swan
Erik Swan on 11 Nov 2014
Edited: 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.


Nazif Çat?k
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

Muhammad Asad
Muhammad Asad on 30 Jan 2017
Try enabling in the firewall

Sign in to comment.


AI
AI on 25 Oct 2016
the same problem.

  0 Comments

Sign in to comment.


ALTAF KHAN
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.

Community Treasure Hunt

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

Start Hunting!

Translated by