Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] PTP and valgrind

Hi,

I just tried to deploy valgrind from within a Eclipse PTP session. My mileage 
varied a lot. Eventually, I ended up using valgrind from command line.
This is what I found. Did I overlook something important ?

* There is an Eclipse plugin for valgrind (as part of the Linux tools 
package), but it appears to support only serial (C/C++ ?) applications.
(and it is also sprouting java NPEs).

* There seems to be the external tools framework 
(http://wiki.eclipse.org/PTP/ETFw/PTP_External_Tools_Framework),
which is not a valgrind plugin, but a framework for building such a
plugin. Suspiciously, at the end of the wiki page, the text refers to PTP 3.0 
release plans - and we are at PTP 7.0, correct ? Also the wiki page seems to 
be in category "Pages with broken file links". Is this framework still 
maintained ?

* Skimming through the documentation of the latter, a large portion appears to 
be dedicated to building a GUI for specifying tool configurations. I would be 
rather interested how to interpret the results. -- Or even better, how to feed 
the results (from a single MPI rank) into the valgrind plugin mentioned above.

* When I said "command line", I actually meant the following. In an OpenMPI 
interactive launch configuration, I set the application name to 
"/usr/bin/valgrind" and pre-pended the application name (=compiled binary from 
the the PTP project) to the argument list. --- That worked and placed the 
shuffled output lines of size_of_MPI_COMM_WORLD valgrind sessions into the 
Eclipse console. Question - How to un-shuffle the output lines and feed it into 
the valgrind profiling display ?
-- 

Mit freundlichen Grüßen / Kind regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospiech@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter 
Scholz, Gregor Pillen, Christian Noll, Ivo Koerner
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 / WEEE-Reg.-Nr. DE 99369940 



Back to the top