[Numpy-discussion] Vectorize bug
Albert Strasheim
fullung at gmail.com
Sat Apr 15 06:38:02 EDT 2006
Hello all
I did some more Valgrinding and reduces all the warnings still produced when
running NumPy revision 0.9.7.2358 to a few lines of code. The relevant Trac
tickets:
http://projects.scipy.org/scipy/numpy/ticket/60
http://projects.scipy.org/scipy/numpy/ticket/61
http://projects.scipy.org/scipy/numpy/ticket/62
http://projects.scipy.org/scipy/numpy/ticket/64
http://projects.scipy.org/scipy/numpy/ticket/65
If anybody else wants to play with Valgrind, you can find the Valgrind
supressions for Python 2.4 here:
http://svn.python.org/projects/python/branches/release24-maint/Misc/valgrind
-python.supp
See also
http://svn.python.org/projects/python/branches/release24-maint/Misc/README.v
algrind
Regards,
Albert
> -----Original Message-----
> From: numpy-discussion-admin at lists.sourceforge.net [mailto:numpy-
> discussion-admin at lists.sourceforge.net] On Behalf Of Travis Oliphant
> Sent: 15 April 2006 03:48
> To: numpy-discussion
> Subject: Re: [Numpy-discussion] Vectorize bug
>
> Albert Strasheim wrote:
> > Hello all
> >
> > I think Valgrind might be very useful in tracking down this bug.
> >
> > http://valgrind.org/
> >
> > Example usage:
> >
> > ~/bin/valgrind \
> > -v --error-limit=no --leak-check=full \
> > python -c 'import numpy; numpy.test()'
> >
>
> Here's the command that I run to test a Python script provided at the
> command line:
>
> valgrind --tool=memcheck --leak-check=yes --error-limit=no -v
> --log-file=testmem --suppressions=valgrind-python.supp
> --show-reachable=yes --num-callers=10 python $1
>
>
> The valgrind-python.supp file will suppress the complaints valgrind
> emits for Python.
>
>
> -Travis
More information about the NumPy-Discussion
mailing list