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.

 采纳的回答

Friedrich
Friedrich 2011-6-3
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 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by