[SciPy-User] Parallelizing a for loop

Charles R Harris charlesr.harris@gmail....
Wed Dec 23 17:57:16 CST 2009


On Wed, Dec 23, 2009 at 3:11 PM, Askey, Scott A Capt USAF AETC AFIT/ENY <
Scott.Askey@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