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.

 Accepted Answer

Friedrich
Friedrich on 3 Jun 2011
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 Comments

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!
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.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!