What Parallel Computing Toolbox functionality can be used without breaking the code for users without PCT?
Show older comments
I am working with a codebase where a simulation is run on a large parameter grid. Usually the total number of independent simulations is anywhere between a couple hundered and a couple thousand with one simulation taking something of the order of 1s to execute. Since the individual simulations are independent, this seems like a perfect candidate for parallelization. However, since not all collaborators have access to the Parallel Computing Toolbox (PCT), I'd like to make the changes in a way that doesn't break the code for people without PCT.
I am aware that parfor runs just a regular for-loop for users who don't have the PCT. Is there other PCT-funcionality that can be used safely without breaking the code for other people? And if so, is there a comprehensive list of said functionality somewhere? What should be considered to keep the performance penalty for users without PCT to a minimum?
Accepted Answer
More Answers (0)
Categories
Show more
Find more on Parallel Computing Toolbox 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!