Parallel computing and recursive loops
3 次查看(过去 30 天)
显示 更早的评论
If we want to execute a MATLAB code on Amazon EC2 we have to use parallel computing toolbox and use for example "parfor". Then we need MATLAB Distributed Computing Server. As far as I know, we can not use parfor or parallel computing when our loops are dependent on each other. So does it mean that we cannot run a recursive algorithm, whose loops are dependent on each other, on Amazon EC2?
0 个评论
回答(1 个)
Jan
2012-8-19
Yes. When the loops depend on each other, you cannot parallelize them. This is not a limitation to a specific server service (whose name has been mention often enough already and we do not like advertisements in the forum) or Matlab's parallel toolbox, but this is a fundamental limitation for parallel processing: it can be parallel only, if it can be parallel.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!