Issue: All workers aborted during execution of the parfor loop.

4 次查看(过去 30 天)
When I ran a code with parpool loop, it should be finished within a few hours but it never finished.
During the interactive checking of the code, below is the error message when using parpool in a loop with ~6500 iterations.
I will appreciate any of your suggestions and help very much!
Warning: A worker aborted during execution of the parfor loop. The parfor
loop will now run again on the remaining workers.
> In parallel_function (line 596)
Error using parallel_function (line 604)
All workers aborted during execution of the parfor loop.
The client lost connection to worker 19. This might be due to network
problems, or the interactive communicating job might have errored.
  2 个评论
Edric Ellis
Edric Ellis 2019-2-6
Which version of MATLAB/PCT are you using? Are there any crash dumps?
RONG YU
RONG YU 2019-2-6
Hi Edric,
I tested both on matlab 2017a & 2017b, and both showed the same issue. Thanks!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by