[SciPy-dev] scikits odes example planarpendulum_ida.py

Benny Malengier benny.malengier@gmail....
Wed Apr 29 08:18:36 CDT 2009


Beware Experimental code :-)

I have them too. Have too look into it. It is part of unallocating memory in
(py)sundials

Benny

2009/4/29 Nils Wagner <nwagner@iam.uni-stuttgart.de>

> Hi Benny,
>
> I just run the new example planarpendulum_ida.py
>
> Can you reproduce the AttributeErrors (see below) ?
>
>
> python docs/src/examples/planarpendulum_ida.py
>
> /data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/__init__.py:371:
> UserWarning: matplotlibrc text.usetex can not be used with
> *Agg backend unless dvipng-1.5 or later is installed on
> your system
>   warnings.warn( 'matplotlibrc text.usetex can not be
> used with *Agg '
> started from z0 =  [ 0.86575984 -0.50045969  0.
>         0.          0.1       ]
> initial condition calculated, [z,zprime] = [
> [0.86575983949234436, -0.50045968900820581, 0.0, 0.0,
> 0.50045968901834781] [-2.9416572526260959e-07,
> 1.700449485844178e-07, -0.43327790003400429,
> -0.74954009965926327, -1.0] ]
> last sol [-0.06675332 -0.99777846  0.99507358 -0.06657502
>  1.99234658] [ 0.99507565 -0.06657258  0.13298731
>  0.98792826  0.19969072]
> has residual:  [ -2.06966270e-06  -2.43986652e-06
>  8.42570737e-06  -7.77048074e-06
>   -2.55736431e-08]
> Exception exceptions.AttributeError: "'NoneType' object
> has no attribute 'c_void_p'" in <bound method
> IdaMemObj.__del__ of <pysundials.ida.IdaMemObj object at
> 0x2a9c8b6f90>> ignored
> Exception exceptions.AttributeError: "'NoneType' object
> has no attribute 'c_void_p'" in <bound method
> IdaMemObj.__del__ of <pysundials.ida.IdaMemObj object at
> 0x2a9c8b6e90>> ignored
> Exception exceptions.AttributeError: "'NoneType' object
> has no attribute 'c_void_p'" in <bound method
> IdaMemObj.__del__ of <pysundials.ida.IdaMemObj object at
> 0x2a9c8b65d0>> ignored
> Exception exceptions.AttributeError: "'NoneType' object
> has no attribute 'c_void_p'" in <bound method
> IdaMemObj.__del__ of <pysundials.ida.IdaMemObj object at
> 0x2a9c8b62d0>> ignored
>
> Nils
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20090429/bdb8f230/attachment.html 


More information about the Scipy-dev mailing list