Hi,
I've never done this, but I believe that an executable compiled with profilling support (-pg) will generate the gmon.out file in its current directory, regardless of running under MPI or not. So I think that you'll have a gmon.out on each node and therefore you can "gprof" them independently.

Best regards,
Tiago Almeida
---------------------------------
jody wrote:
Hi
I wanted to profile my application using gprof, and proceeded like
when profiling a normal application:
- compile everything with option -pg
- run application
- call gprof
This returns a normal-looking output, but i don't know
whether this is the data for node 0 only or accumulated for all nodes.

Does anybody have experience in profiling parallel applications?
Is there a way to have profile data for each node separately?
If not, is there another profiling tool which can?

Thank You
  Jody
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to