Parfor freeze after ~50/70% of iteration

2 Ansichten (letzte 30 Tage)
Andrea Stevanato
Andrea Stevanato am 29 Jun. 2018
Kommentiert: Andrea Stevanato am 29 Jun. 2018
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 Kommentar
Andrea Stevanato
Andrea Stevanato am 29 Jun. 2018
Sometimes it works correctly for all iteration.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by