How to solve a parallel pool start failure?
이전 댓글 표시
I am currently running MatLab R2014b on Ubuntu 14.04. I am trying to call MatLab code from a Python script and whenever I do so, I get one of the following error messages
Error using matlabpool (line 148)
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 plmDCA_symmetric (line 84)
matlabpool('open',nr_of_cores)
Caused by:
Error using parallel.internal.apishared.ConnMgrBuilder.buildForCJS (line 113)
MatlabPoolPeerInstance{fUuid=91b76bde-8e0d-4d20-9759-8019f90b9539, fGroupUuid=a68b8465-a1e7-4696-b0cd-3a1b5013151a, fLabIndex=-1,
fNumberOfLabs=-1} could not bind a ServerSocketChannel on adenine to port 27372; it failed with a JVM Exception: Invalid argument
------------------------------------------------------------------------------
Error using matlabpool (line 148)
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 plmDCA_symmetric (line 84)
matlabpool('open',nr_of_cores)
Caused by:
Error using parallel.internal.pool.InteractiveClient/start (line 329)
Failed to start pool.
Error using parallel.Cluster/createCommunicatingJob (line 82)
Unable to write to MAT-file /home/felix/.matlab/local_cluster_jobs/R2014b/Job3.in.mat
File may be corrupt.
------------------------------------------------------------------------------
Error using matlabpool (line 148)
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 plmDCA_symmetric (line 84)
matlabpool('open',nr_of_cores)
Caused by:
Error using parallel.internal.pool.InteractiveClient/start (line 329)
Failed to start pool.
Error using parallel.Job/createTask (line 273)
The expected job file /home/felix/.matlab/local_cluster_jobs/R2014b/Job3.common.mat does not exist.
However, when validating my 'local' profile all tests pass and no problems occur. Even when running the program from within MatLab, it works!
Is there a way to resolve this issue?
답변 (1개)
Edric Ellis
2014년 12월 15일
0 개 추천
That error is related to the communication channels that the parallel pool infrastructure is trying to set up. I'm not quite sure what you mean by "an external pipeline" - is it possible that in that situation, there are different firewall settings?
댓글 수: 3
Felix
2014년 12월 15일
Edric Ellis
2014년 12월 15일
Are you running multiple copies of this simultaneously? What OS are you using?
카테고리
도움말 센터 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!