Re: [Valgrind-users] Is it possible to use valgrind with MPI applications (with SGI MPT)?

2013-02-04 Thread Raghu Reddy
Hi Julian, Additional responses to your questions are included in line. Included below are outputs from two runs, the first one is a non-MPI application, and the second one is an MPI application. Both codes do essentially the same thing except that the latter has some basic MPI calls to make it

Re: [Valgrind-users] time-stamp of memory allocation

2013-02-04 Thread janjust
Presumably what you want is to track the systime of an allocation as part of the allocated chunk later to be retrieved during leak_check(), and print it?. The structure MC_Chunk in memcheck/mc_include.h is (I think) allocated every time a malloc-like call is replaced by MC_(new_block). You could

Re: [Valgrind-users] time-stamp of memory allocation

2013-02-04 Thread Philippe Waroquiers
On Mon, 2013-02-04 at 16:26 +, Rehrmann, Robin wrote: printing the result. Since memory leaks can only be detected at the end of a program, these are printed out at the end of the program, so If you want to find which test specifically leaks some memory (i.e. loses the last pointer to a