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
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
Felix 2014년 12월 15일
"External pipeline" is nothing else than a simple python script. I clarified in my original post. Thus, no firewall should even be involved in the process. All runs internally on a local machine.
Edric Ellis
Edric Ellis 2014년 12월 15일
Are you running multiple copies of this simultaneously? What OS are you using?
Felix
Felix 2014년 12월 16일
편집: Felix 2014년 12월 16일
Updated question, I now get different error messages at the same point.
What do you mean by multiple copies simultaneously? the MatLab command is only run once, but multiple times in a row. But, a new instance only starts when the previous finished.
Working on a Ubuntu 14.04.

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

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품

질문:

2014년 12월 15일

편집:

2014년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by