[SciPy-User] Parallelizing a for loop

Askey, Scott A Capt USAF AETC AFIT/ENY Scott.Askey at afit.edu
Wed Dec 23 17:11:37 EST 2009


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.

Cheers,

Scott



More information about the SciPy-User mailing list