My parallel worker fall back to 3 workers when running at 4 workers
1 回表示 (過去 30 日間)
古いコメントを表示
I was running a my code using parpool(4) which using 4 workers. However, I noticed after the execution of my code(having each worker writing to their own files), the workers falls back to 3. What could be the reason behind this?
9 件のコメント
Walter Roberson
2022 年 8 月 23 日
@Raymond Norris have you observed this in the past, number of workers dropping even though no tasks have errors and no tasks are finished ?
Raymond Norris
2022 年 8 月 24 日
It looks familar. It is possible for a pool to drop a worker and still stay open, but MATLAB would have notified you
An unexpected error occurred during PARFOR: Error in remote execution of parfor: Java is shutting down
Sounds like there's some frailty in the parpool if no user code is explicitly erroring out. I would suggest contacting Support (support@mathworks.com).
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Parallel Computing Fundamentals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!