Why am I getting a ''Failed to start parallel pool'' error in Matlab 2016b?

1 view (last 30 days)
Hi, I'm trying to run some code using parallel processing in Matlab 2016b (x64) and the following error pops-up,
Error using parpool (line 103)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster
Profile Manager.)
...
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 665)
Failed to start pool.
Error using parallel.Cluster/createCommunicatingJob (line 92)
Too many input arguments.
Running the same piece of code using parallel processing in Matlab 2015b everything runs smooth.
Has someone experienced the same issue?
P.S.: I've uninstalled and installed Matlab several times and the same error persists.
Thanks for your help!
  2 Comments
Adam
Adam on 24 Mar 2017
Edited: Adam on 24 Mar 2017
Did you try doing what it says?:
"For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager."
I have no idea what this does though - whether it fixes things or just reports problems, but it should give some extra information.
Miguel Santos
Miguel Santos on 27 Mar 2017
Hi Adam,
Yes, when trying to validate the profile the following error appears,
com.mathworks.mvm.exec.MvmRuntimeException: Too many input arguments.
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+settings\ValidationEventData.m>ValidationEventData.ValidationEventData at 204
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+settings\ValidationEventData.m>ValidationEventData.createValidationStarted at 72
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+validator\Validator.m>Validator.notifyValidationStarted at 224
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+validator\Validator.m>Validator.startValidation at 157
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+validator\Validator.m>Validator.validate at 102
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+ui\AbstractValidationManager.m>AbstractValidationManager.validate at 34
Error in ==> C:\Program Files\MATLAB\R2016b\toolbox\distcomp\cluster\+parallel\+internal\+ui\ValidationManager.m>ValidationManager.validateProfile at 35
I've tried all the recommendations in this thread but they don't solve the issue either.

Sign in to comment.

Answers (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat on 28 Mar 2017
It is a known bug in MATLAB. Please try the following patch specified in the following link
Regards,
Darshan Bhat

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!