Borrar filtros
Borrar filtros

Fail to start parpool

242 visualizaciones (últimos 30 días)
Clyde S
Clyde S el 3 de En. de 2017
Comentada: Erick Cardozo el 28 de Oct. de 2023
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 comentario
Edric Ellis
Edric Ellis el 5 de En. de 2017
This is definitely not expected - contact MathWorks support who should be able to help you resolve this problem.

Iniciar sesión para comentar.

Respuestas (3)

MathWorks Support Team
MathWorks Support Team el 7 de Mzo. de 2023
  2 comentarios
idermann el 12 de Abr. de 2023
Deleting .matlab/local_cluster_jobs solved the problem
Erick Cardozo
Erick Cardozo el 28 de Oct. de 2023
En matlab r2023b update3, tambien me sivio eliminar el directorio "/local_cluster_jobs", ubicado en C:\Users\<usuario>\AppData\Roaming\MathWorks\MATLAB\local_cluster_jobs. Luego reiniciar Matlab. (Puede que tengas que repetir este procedimiento hasta en tres ocasiones)

Iniciar sesión para comentar.

Rana Adhikari
Rana Adhikari el 21 de Mzo. de 2019
I am getting this using 2017a & 2017b on a Mac Pro running Sierra

emjey el 4 de Oct. de 2019
  1 comentario
Lightonz el 17 de Feb. de 2021
2021, matlab version 2020b here. Same problem, differen solution. In my case, a function (split) had the same name as matlab buildin function. I executed
and removed the file from my startup skript. It seems like parpool rereads the startup file. So, make sure it is not reloaded there.
By the way, you can check this error by opening "Parallel Preferneces" in the lower left corner, then go to Parallel Computing Toolbox >> Cluster Profle Manager >> Click on validate. In case it fails, click on the test to see why it failed.

Iniciar sesión para comentar.


Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.


Community Treasure Hunt

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

Start Hunting!

Translated by