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