<HTML>
<HEAD>
<STYLE>
BODY{FONT-FAMILY: Gulim;FONT-SIZE: 10pt;}
DIV,P {margin-top:2px;margin-bottom:2px;}
</STYLE>
</HEAD>
<BODY><P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">Dear All,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">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¡¯.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">What is the best way to do this? </FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"></FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">When I checked the source code of ¡°ADIOI_Calc_my_off_len¡±, I found the following parts;</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">#ifdef AGGREGATION_PROFILE</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ"><SPAN style="mso-spacerun: yes"> </SPAN>MPE_Log_event (5028, 0, NULL);</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">#endif</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">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;</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ"></FONT></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">[khocha@compute-0-0 cio]$ mpicc ./mpi-tile-io.c -o mpi-tile-io -Wall -g -DHAVE_GETOPT_LONG</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">/opt/mpi2pvfs/lib/libmpich.a(ad_read_coll.o)(.text+0x2d): In function `ADIOI_Calc_my_off_len':</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">/kyle/mpich2-1.1/src/mpi/romio/adio/common/ad_read_coll.c:308: undefined reference to `MPE_Log_event'</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">/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'</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">What should I do to make the ROMIO which can use ¡®MPE_Log_event¡¯? </FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><FONT face="¸¼Àº °íµñ">Thanks,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN lang=EN-US><o:p><FONT face="¸¼Àº °íµñ"> </FONT></o:p></SPAN></P><SPAN style="FONT-FAMILY: '¸¼Àº °íµñ'; FONT-SIZE: 10pt; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: KO; mso-bidi-language: AR-SA" lang=EN-US>Kwangho CHA</SPAN>
<img src="http://mail.kisti.re.kr/cgi-bin/setconfirm.cgi?k=1263384596878597186&u=khocha&d=kisti.re.kr" width=1 height=1>
</BODY>
</HTML><br><br><pre></pre>