Weired Problem with parallel computing

I activated two Matlab programs and run two paralleling jobs at the same time on each Matlab program. After some number of loops, the parallel computing process stops and the messages are shown below.
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
Could anyone could help this problem? I would really appreciate.

 Réponse acceptée

Friedrich
Friedrich le 3 Juin 2011

2 votes

I think this can be related to a too small port range for Parallel Computing Toolbox. Try to make the port range bigger. How you can do this can be obtained in the documentation:

2 commentaires

Linpeng Zheng
Linpeng Zheng le 3 Juin 2011
Thank you for answering me questions! But I still have two questions from your suggestions.
The problem is I am using R2007b, so it seems that all the functions about "pctconfig" in R2011 are not recognized by R2007. Is there some other way to change the port range?
Second, how big do I need to change the port range? I have no experience about this setting.
Thanks!
Friedrich
Friedrich le 6 Juin 2011
Hi,
as far as I know the ability to change the port range with the pctconfig function was implemented in R2009b. In older releases there is no way to change the port range.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by