Why parfor doesn't work always?

3 views (last 30 days)
Mirela Fetescu
Mirela Fetescu on 14 Aug 2019
Edited: Pravin Jagtap on 21 Aug 2019
I have Matlab R2017b installed on my PC. I have a quite heavy program to run on Matlab, so I choose to use parfor since all the computations are indipendent and there are about 4000 iterations. Last week it worked fine on my 4 cores, today it doesn't even if I changed nothing. My code runs until the parfor line, it opens the parallel pool and I can see in tne command window the 4 workers, but after that nothing happens, the CPU goes to zero but Matlab appears busy with no reason. Does anybody know why suddenly parfor stopped working? Thank you
  2 Comments
Jackson Burns
Jackson Burns on 14 Aug 2019
Can you post the code itself? If we were to try and answer without seeing it, we would just be guessing.
Pravin Jagtap
Pravin Jagtap on 19 Aug 2019
Edited: Pravin Jagtap on 21 Aug 2019
Hello Mirela,
As suggested by Jackson, please share the code so that we can understand the issue in detail.
~Pravin

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!