Parfor freeze after ~50/70% of iteration

조회 수: 1 (최근 30일)
Andrea Stevanato
Andrea Stevanato 2018년 6월 29일
댓글: Andrea Stevanato 2018년 6월 29일
I'm tring to run some code that executes parfor for some data, I notice that after a lot of iteration parfor "freeze" and it's executed run like single core. I can see via top command that for some time all run correctly but after some iteration like 70/100 or something else it's freeze and the loop go slowly. The code that i'm trying to execute is the following:
for it = 1:100
parfor ...
% something
end
end
Which could be cause of this freeze?
  댓글 수: 1
Andrea Stevanato
Andrea Stevanato 2018년 6월 29일
Sometimes it works correctly for all iteration.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by