How to solve a parallel pool start failure?

4 views (last 30 days)
Felix
Felix on 15 Dec 2014
Edited: Felix on 16 Dec 2014
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?

Answers (1)

Edric Ellis
Edric Ellis on 15 Dec 2014
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 Comments
Edric Ellis
Edric Ellis on 15 Dec 2014
Are you running multiple copies of this simultaneously? What OS are you using?
Felix
Felix on 16 Dec 2014
Edited: Felix on 16 Dec 2014
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.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!