Parallel Analysis: error: All workers aborted during execution of the parfor loop
3 views (last 30 days)
Show older comments
Hey
I am running parallel analysis on some image process scripts using Matlab 2014a on a PC with 6 cores 32Gb memory.
It worked fine in the past, but recently I got error message: workers aborted during execution of the parfor loop.
Does anyone have encountered similar problem or have some knowledge that are the causes for this problem.
Many thanks
Jun
3 Comments
Germán
on 3 Sep 2014
Edited: Germán
on 3 Sep 2014
Have you figured out the issue? I have the exact same problem, my code used to run in parallel without a problem until a few weeks ago. I tested everything and can't find the issue, I'm certain it's not a code issue since the same code used to run fine. The program runs fine serially, and the only error message I get when running in parallel is "All workers aborted during execution of the parfor loop" which is not very helpful.
I'm running R2014a
thanks
Germán
on 3 Sep 2014
Edited: Germán
on 3 Sep 2014
I figured it out, apparently it's not possible to set titles and axis labels using the latex interpreter when running in parallel. The code stopped working in parallel when I set the default interpreter to latex in startup.m. The funny thing is, functions that are called inside the parfor can use latex without a problem, but it's not possible to use it from within the body of parfor...go figure
In order for the workers to use tex interpreter by default I added the following line to poolStartup.m
set(0, 'DefaultTextInterpreter', 'tex')
Answers (0)
See Also
Categories
Find more on Parallel for-Loops (parfor) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!