Parallelization Error
显示 更早的评论
Hi,
I'm running a piece of code in the matlapool local configuration, and I get the following error:
The client lost connection to lab 5. This might be due to network problems, or the interactive matlabpool job might have errored. This is causing: java.io.EOFException: EOF while reading from PlainConnection{fSocketChannel=java.nio.channels.SocketChannel[closed], fRemoteInstance=[Process: lab 5]}
The code does not create any issues when a parfor loop is replaced with a for loop. Also, the error is reported midway through execution (so many iterations are computed successfully).
I'd appreciate your help with this.
Thanks! Nikhil
回答(1 个)
Jason Ross
2011-12-8
0 个投票
Sounds like a resource is being exhausted during the run.
- Check to see if you are running out of memory (including swap) while the code is being run.
- Check if you are filling up a partition (e.g. /tmp if you are on UNIX), or wherever your TEMP environment variable is on Windows.
Beyond that, do you know if: * This happens only on this machine (have you tried others?) * Are there any interesting entries in the machine's event/system logs around this time?
If that doesn't bear any fruit, you could try posting the code here or putting in a call to support.
类别
在 帮助中心 和 File Exchange 中查找有关 Parallel Computing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!