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 日

2 投票

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 件のコメント

Linpeng Zheng
Linpeng Zheng 2011 年 6 月 3 日
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 2011 年 6 月 6 日
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 ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by