LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Andriy Y. Fedorov (fedorov_at_[hidden])
Date: 2004-06-06 09:43:32


I had someting very similar. I solved it by compiling LAM MPI and my
application with '-g -xpg -p' to get both prof and gprof data. Worked for
me.

Fedorov

>
> HI !
>
> checking the archive I found a few other messages on gprof problems -
> but not ine I suspect that I'm doing somthing trivially stupid but
> can't locate it.
>
> simple set CFLAGS/LDFLAGS to -pg and compile 7.0.6 + test app and it
> all seems to work - but the output of gprof looks like:
> Flat profile:
>
> Each sample counts as 0.01 seconds.
> no time accumulated
>
> % cumulative self self total
> time seconds seconds calls Ts/call Ts/call name
> 0.00 0.00 0.00 130 0.00 0.00 lam_prod
> 0.00 0.00 0.00 118 0.00 0.00 lam_send
> 0.00 0.00 0.00 93 0.00 0.00 MPI_Waitany
> 0.00 0.00 0.00 58 0.00 0.00 MPI_Waitall
> 0.00 0.00 0.00 52 0.00 0.00 lam_lor
> 0.00 0.00 0.00 48 0.00 0.00 init_env
> 0.00 0.00 0.00 44 0.00 0.00 init_rdtype
> 0.00 0.00 0.00 42 0.00 0.00
> init_cxxcomplex_types 0.00 0.00 0.00 41 0.00
> 0.00 flat_hvector
> ...
>
> all times are 0.00 - any idea what I'm doing wrong ?
>
> thx!
> hofrat
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/