Parallel computing with ODEs
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I am having a problem: I need to solve a stiff system composed by more than 1500 ordinary differential equations (using the ode15s function). The principal problem is computational time and I am not familiar in optimizing it. We have a dual core processor and I suppose that without any special order Matlab is not exploiting all its power.
First question, is the parallel computing toolbox ok for this task?
Second question, having 1500 interconnected differential equations (the first one affects all the others, and the n-th one is affected by all the previous ones), is it possible to reduce the computational time using parallel computing? In my head, equations should be splitted in 2 groups, which are divided in the two cores, but these two cores should communicate between them because equations in the second group will need information contained in the equations in the first group.
Thank you for your help.
0 个评论
回答(1 个)
Rui
2013-11-2
I doubt parallel computing with dual core will help. But you still have two options, first, see if your company or school has a grid system, I do not how to call it exactly, but basically there you get multiple cores, e.g., 32 cores; second, do not use default matlab ode solvers, you can try this one http://bmi.bmt.tue.nl/sysbio/software/CVode.html, which generates compiled mex files, but you need to figure out how to set it up on your machine. You can combined the two options to save even more time.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!