On Sun, May 16, 2010 at 11:59:24AM -0700, cschwan wrote: > I already tried valgrind but it did not work - how do I exactly use > it ? When I run > > sage -valgrind -t -force_lib "devel/sage/doc/en/reference/sage/ > categories/examples/algebras_with_basis.rst" > > I get: > > ---------------------------------------------------------------------- > | Sage Version 4.4.1, Release Date: 2010-05-02 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > /opt/sage/local/bin/sage-ipython > Log file is /home/gnuke/.sage/valgrind/sage-memcheck.%p > Using default flags: > --leak-resolution=high --log-file=/home/gnuke/.sage/valgrind/sage- > memcheck.%p --leak-check=full --num-callers=25 --suppressions=/opt/ > sage/local/lib/valgrind/sage.supp > > but nothing happens.
Ah, right. You need to put a valgrind suppressions file in /opt/sage/local/lib/valgrind/sage.supp. You can use the one that's part of the optional valgrind spkg available from http://sagemath.org/packages/optional/ . I've been using this one: http://www.math.leidenuniv.nl/~wpalenst/sage/sage.supp which suppresses some more false positives from python (but not all of them). I unfortunately don't remember the source of that file anymore; I've had it around for too long for various python-based projects. -Willem Jan -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org