MATLAB Answers

Clyde S

Fail to start parpool

Asked by Clyde S
on 3 Jan 2017
Latest activity Edited by Walter Roberson
on 21 Mar 2019
Hi, All:
I am trying to run Matlab parallel computing in a Mac Pro, but I encounter the following error message when I start the parallel pool using “parpool” command:
parpool Starting parallel pool (parpool) using the 'LocalDefaultProfile' profile ... Error using parpool (line 103) Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'LocalDefaultProfile' in the Cluster Profile Manager.)
Caused by: Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 665) Failed to initialize the interactive session. Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 766) The interactive communicating job failed with no message.
I am using Matlab R2016b, and the (Late 2013) Mac Pro is running OS X El Capitan version 10.11.6. I also have tried the following but none of them works.
1. This problem happened once several months ago when I installed R2016b for the first time on this computer. At that time I was able to solve this problem by creating a new default local cluster profile. But this time the trick doesn’t work anymore.
2. I tried to re-install R2016b but I got the same error message.
3. I tried to set "distcomp.feature( 'LocalUseMpiexec', false );”, but I got the same error message.
4. I also tried to set "distcomp.feature( 'LocalUseMpiexec', true );” because some people found it working for them, but it takes forever to start the parallel pool.
I appreciate if anyone can share the solution of this problem.

  1 Comment

This is definitely not expected - contact MathWorks support who should be able to help you resolve this problem.

Sign in to comment.


1 Answer

Answer by Rana Adhikari on 21 Mar 2019

I am getting this using 2017a & 2017b on a Mac Pro running Sierra


Sign in to comment.