[SciPy-User] odeint MemoryError

Loïc loic@inzenet....
Wed Jul 11 08:05:44 CDT 2012


I'm trying to run scipy.integrate.odeint on a rather large vector, but obtain a 
memory error.
I do not really understand why I'm getting this error as my vector can fit into 
Which scipy internal operation could trigger the error?
Maybe is there some internal parameter to tune?

Here is a small test program which obtain a MemoryError :

from scipy import *
from scipy.integrate import *

n = 45000

def rdot( r, t ) :
    r *= 2
    return r

r0 = rand(n)
odeint(rdot, r0, linspace(0, 10, 2))


More information about the SciPy-User mailing list