필터 지우기
필터 지우기

My parallel worker fall back to 3 workers when running at 4 workers

조회 수: 5 (최근 30일)
Yi Xien Yap
Yi Xien Yap 2022년 8월 19일
댓글: Raymond Norris 2022년 8월 24일
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
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
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 CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by