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?

Réponses (1)

Edric Ellis
Edric Ellis le 15 Déc 2014

0 votes

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 commentaires

Felix
Felix le 15 Déc 2014
"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 le 15 Déc 2014
Are you running multiple copies of this simultaneously? What OS are you using?
Felix
Felix le 16 Déc 2014
Modifié(e) : Felix le 16 Déc 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.

Connectez-vous pour commenter.

Produits

Question posée :

le 15 Déc 2014

Modifié(e) :

le 16 Déc 2014

Community Treasure Hunt

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

Start Hunting!

Translated by