On Apr 29, 2010, at 5:10 PM, Joshua R. Tepper wrote: > David: > Thanks for the script (and to Ms. Pittman as well).
(FYI, that's Mr. Pittman; Ashley is male) > This looks very > helpful. The only possible issue, I think, will be to guarantee that > each process has a different pid, which I don't imagine is guaranteed > for a job spread over many nodes. I think such collisions will prove > uncommon. Since you know that you are running on a particular MPI implementation (MVAPICH2) with a particular process manager (mpd) you can play a trick to get your valgrind output into separate log files: mpiexec -genv [...] -n $NUMPROC valgrind --xml=yes --xml-file='vg_log. %q{PMI_RANK}.xml' $EXE $PARAM Which will create "vg_log.0.xml", "vg_log.1.xml", ..., and "vg_log.$ ((NUMPROC-1)).xml". Then merge them with: ./vg_xmlmerge.pl vg_log.*.xml > merged_vg_log -Dave ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users