|
| View previous topic :: View next topic |
| Author |
Message |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Thu Mar 02, 2006 3:09 pm Post subject: |
|
|
Hi L-A,
You might have been confused by original response. I mentioned only "-Mprof=mpi,func" since it works with or without "-Mmpi". I didn't intend for you to think that "-Mmpi" needed to be removed. The two flags are not dependent upon each other. All "-Mmpi" does is add the default MPICH libraries at link time which could also be achived by using "mpicc" or adding the MPICH libraries directly on the link line.
- Mat |
|
| Back to top |
|
 |
lal
Joined: 26 Jul 2004 Posts: 6
|
Posted: Thu Mar 02, 2006 5:17 pm Post subject: |
|
|
Hi Mat,
I think that the 2 similar systems where I do my testing could have a config problem. But that's what i got.
pgcc -Mmpi :
MPI only, no profile (ok!)
pgcc -Mmpi -Mprof-mpi,func :
MPI, I can look at the function profile for each process but i don't see the messages and byte count
pgcc -Mprof-mpi,func
MPI, i can look at the function profile for each process and I see the messages and byte count
(ok)
All I try to explain is, if that behavior is common someone should change it. The command 'pgcc -Mmpi -Mprof-mpi,func' and 'pgcc -Mprof-mpi,func' should give the same binary.
L-A
this is the different dryrun output (only the diffs):
(-Mmpi and -Mprof=mpi,func)
-lpgnod_prof -lmpich -lpgnod_prof_mpi -lmpich -lpgftnrtl -lpgft nrtl -lc -lnspgc -lpgc -lm -lgcc -lc -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4//crtend.o /usr/lib64/crtn.o
(only -Mprof=mpi,func)
-lpgnod_prof -l pgnod_prof_mpi -lmpich -lpgftnrtl -lc -lnspgc -lpgc -lm -lgcc -lc -lgcc /usr/lib/gcc/x86_64-pc-linux- gnu/3.4.4//crtend.o /usr/lib64/crtn.o |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|