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!