Fail to start parpool

조회 수: 213 (최근 30일)
Clyde S
Clyde S 2017년 1월 3일
댓글: Erick Cardozo 2023년 10월 28일
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
Edric Ellis
Edric Ellis 2017년 1월 5일
This is definitely not expected - contact MathWorks support who should be able to help you resolve this problem.

댓글을 달려면 로그인하십시오.

답변 (3개)

MathWorks Support Team
MathWorks Support Team 2023년 3월 7일
  댓글 수: 2
idermann
idermann 2023년 4월 12일
Deleting .matlab/local_cluster_jobs solved the problem
Erick Cardozo
Erick Cardozo 2023년 10월 28일
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)

댓글을 달려면 로그인하십시오.


Rana Adhikari
Rana Adhikari 2019년 3월 21일
I am getting this using 2017a & 2017b on a Mac Pro running Sierra

emjey
emjey 2019년 10월 4일
  댓글 수: 1
Lightonz
Lightonz 2021년 2월 17일
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
restoredefaultpath;
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by