Parallelization Error

1 vue (au cours des 30 derniers jours)
Nikhil Agarwal
Nikhil Agarwal le 8 Déc 2011
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

Réponses (1)

Jason Ross
Jason Ross le 8 Déc 2011
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.

Catégories

En savoir plus sur Parallel Computing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by