How to avoid single workers getting stuck in 'queued' or 'compilation completed' stages

3 views (last 30 days)
I am running a batch of simulink simulations in a parallel worker pool in MATLAB 2023B. Here, I am experiencing that single simulations occupy the workers for hours, since they get stuck in the 'Compilation finished' or 'queued' stage, some of these later aborting with 'vtdelay memory allocation' errors. My overall RAM (~512GB) on the machine never gets used up more than 70%.
As a result, the pool of 30 Workers is reduced to 6-7 effectively computing during the run. What could be possible causes of this and are there strategies how to avoid this? Can single runs be restarted if they take too long?
Each simulation uses the Accelerator, if that is of interest.
Thank you for any hint on this!

Answers (0)

Categories

Find more on Acceleration in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!