I am doing that too, but any gain we can get is an important one, and it turns out that by parallelizing rkf45_apply, my simulation runs 30% faster on 8 cores.

Maxime



Le 2012-12-12 21:28, Rhys Ulerich a écrit :
I am not sure if you mean parallelizing the for loop in this code, but this
would not work, as each iteration is not independent from the next one.
Differential equation solving is intrinsically serial.
True, solving one differential equation is serial.  I'd thought you
were performing a parameter sweep.

- Rhys


Reply via email to