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_at_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.
On Aug 5, 2008, at 5:21 PM, Jan Ploski wrote:
> Hi,
>
> I wanted to determine the peak heap memory usage of each MPI process
> in my
> application. Using MVAPICH it can be done by simply substituting a
> wrapper
> shell script for the MPI executable and from that wrapper script
> starting
> "valgrind --tool=massif ./prog.exe". However, when I tried the same
> approach with OpenMPI, I got no output from massif (empty output
> file),
> even though the MPI process ran and finished as expected. Can someone
> explain this or provide an alternative way of obtaining the same
> information (preferably one that does not require source code
> instrumentation and recompiling)?
>
> Best regards,
> Jan Ploski
>
> --
> Dipl.-Inform. (FH) Jan Ploski
> OFFIS
> FuE Bereich Energie | R&D Division Energy
> Escherweg 2 - 26121 Oldenburg - Germany
> Phone/Fax: +49 441 9722 - 184 / 202
> E-Mail: Jan.Ploski_at_[hidden]
> URL: http://www.offis.de
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
- application/pkcs7-signature attachment: smime.p7s
|