[SciPy-User] Parallelizing a for loop

Charles R Harris charlesr.harris at gmail.com
Wed Dec 23 18:57:16 EST 2009


On Wed, Dec 23, 2009 at 3:11 PM, Askey, Scott A Capt USAF AETC AFIT/ENY <
Scott.Askey at afit.edu> wrote:

>
> I am looking for a good way to speed the calculation of the of the
> residuals and and the Jacobian of for fsolve.
>
> For a small problem with 10 elements (420x420) the Jacobians .04 seconds to
> calculate and the residuals 420x1 take .007 seconds.
> The residual and Jacobian elements are independent and calculated in a for
> loop.
>
> Is threading or multiprocessing more appropriate.
>
>
What problem are you trying to solve? That is, what problem leads you to
fsolve?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20091223/f52f3d30/attachment.html>


More information about the SciPy-User mailing list