One tip is to use the --log-file=valgrind.out.% q{OMPI_MCA_ns_nds_vpid} option to valgrind which will name the output file according to rank. In the 1.3 series the variable has changed from OMPI_MCA_ns_nds_vpid to OMPI_COMM_WORLD_RANK.
Ashley. On Tue, 2008-08-05 at 17:51 +0200, George Bosilca wrote: > Jan, > > I'm using valgrind with Open MPI on a [very] regular basis and I never > had any problems. I usually want to know the execution path on the MPI > applications. For this I use: > mpirun -np XX valgrind --tool=callgrind -q --log-file=some_file ./my_app > > I just run your example: > mpirun -np 2 -bynode --mca btl tcp,self valgrind --tool=massif - > q ./NPmpi -u 4 > and I got 2 non empty files in the current directory: > bosilca@dancer:~/NetPIPE_3.6.2$ ls -l massif.out.* > -rw------- 1 bosilca bosilca 140451 2008-08-05 11:57 massif.out. > 21197 > -rw------- 1 bosilca bosilca 131471 2008-08-05 11:57 massif.out. > 21210 > > george.