[mpich2-dev] Tracing ROMIO
"Kwangho CHA"
khocha at kisti.re.kr
Wed Jan 13 06:09:55 CST 2010
Dear All,
I’d like to trace and profile the behavior of ROMIO. For example, I want to measure the execution time of “ADIOI_Calc_my_off_len” function, when an application program calls ‘MPI_File_read_all’.
What is the best way to do this?
When I checked the source code of “ADIOI_Calc_my_off_len”, I found the following parts;
#ifdef AGGREGATION_PROFILE
MPE_Log_event (5028, 0, NULL);
#endif
So I tried to make MPICH2 library with ‘-DAGGREGATION_PROFILE’ and it seemed to generate new MPICH2 but I failed to use it as follow;
[khocha at compute-0-0 cio]$ mpicc ./mpi-tile-io.c -o mpi-tile-io -Wall -g -DHAVE_GETOPT_LONG
/opt/mpi2pvfs/lib/libmpich.a(ad_read_coll.o)(.text+0x2d): In function `ADIOI_Calc_my_off_len':
/kyle/mpich2-1.1/src/mpi/romio/adio/common/ad_read_coll.c:308: undefined reference to `MPE_Log_event'
/opt/mpi2pvfs/lib/libmpich.a(ad_read_coll.o)(.text+0x397):/kyle/mpich2-1.1/src/mpi/romio/adio/common/ad_read_coll.c:501: undefined reference to `MPE_Log_event'
What should I do to make the ROMIO which can use ‘MPE_Log_event’?
Thanks,
Kwangho CHA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich2-dev/attachments/20100113/7f6cef61/attachment.htm>
More information about the mpich2-dev
mailing list