<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Thank you very much for all of your replies. finally, I used the version in <div><a href="https://wiki.mpich.org/mpich/index.php/MPE_by_example">https://wiki.mpich.org/mpich/index.php/MPE_by_example</a><br></div><div>and could successfully execute both. </div><div><br></div><div>Best,</div><div>Fatemeh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 2:59 PM, Balaji, Pavan <span dir="ltr"><<a href="mailto:balaji@anl.gov" target="_blank">balaji@anl.gov</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Just to clarify -- MPE is a separate project than MPICH. We were originally integrating it into the MPICH tarball as well. We now ditribute it separately.<br>
<br>
-- Pavan<br>
<div><div class="h5"><br>
> On Dec 16, 2014, at 9:07 AM, Lu, Huiwei <<a href="mailto:huiweilu@mcs.anl.gov">huiweilu@mcs.anl.gov</a>> wrote:<br>
><br>
> Hi, Fateme,<br>
><br>
> Unfortunately MPICH has removed MPE support since 2012.<br>
><br>
> If you want to log events for debugging, you can check <a href="http://wiki.mpich.org/mpich/index.php/Debug_Event_Logging" target="_blank">http://wiki.mpich.org/mpich/index.php/Debug_Event_Logging</a> for an alternative.<br>
> If you want to profile MPI with event logging, you may want to take a look at MPI Tool support (<a href="http://wiki.mpich.org/mpich/index.php/Tool_interfaces_(MPI-T),_MPICH_parameters_and_instrumentation" target="_blank">http://wiki.mpich.org/mpich/index.php/Tool_interfaces_(MPI-T),_MPICH_parameters_and_instrumentation</a>) or profiling tools like HPCToolkit and TAU that work with MPICH.<br>
><br>
> Best,<br>
> —<br>
> Huiwei<br>
><br>
>> On Dec 15, 2014, at 12:50 PM, Fateme Hendijani <<a href="mailto:fateme.hendijani@gmail.com">fateme.hendijani@gmail.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I am a newbie in MPI. I have installed MPICH-3.0.4 on my virtual machine, Ubuntu 14.04. It runs the cpi example and also compiles and runs the sample Hello World example.<br>
>> I need to create log files, using MPE. In the manuals, it is said that the MPE is included in MPICH, however, it is not. Therefore, I have installed the MPE2-1.3.0 with the following configuration options:<br>
>> sudo ./configure –prefix=/path/to/install/ --with-mpicc=/mirror/mpich2/bin/mpicc --with-mpilibs=-L/mirror/mpich2/lib/ --with-mpiinc=-I/mirror/mpich2/include/ --disable-f77 –enable-mpe_graphics –enable-mpedbg –enable-mpich –with-mpiio –enable-checkMPIwtime<br>
>><br>
>> I had actually disabled the mpedbg, since while making, it went to a loop that could not find it.<br>
>><br>
>> While using make command, it gave me some errors and warnings like the following. I have set the LD_LIBRARY_PATH and LIBRARY_PATH, but still cannot create a log file.<br>
>><br>
>> 1- I don't know which version of MPICH and MPE to use, and from where to download (I have found and MPICH2 that has an MPE folder inside, however, some libs seem to be missing)<br>
>><br>
>> 2- I appreciate your help for installing.<br>
>><br>
>> Thanks,<br>
>><br>
>> Fatemeh<br>
>><br>
>><br>
>><br>
>> In file included from log_mpi_core.c:6997:0:<br>
>> log_mpi_io.c:1590:5: error: conflicting types for ‘MPI_File_write_at_all_end’<br>
>> int MPI_File_write_at_all_end( MPI_File fh,void * buf,MPI_Status * status )<br>
>> ^<br>
>> In file included from /mirror/mpich2/include/mpi.h:2121:0,<br>
>> from log_mpi_core.c:10:<br>
>> /mirror/mpich2/include/mpio.h:203:5: note: previous declaration of ‘MPI_File_write_at_all_end’ was here<br>
>> int MPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status);<br>
>> ^<br>
>> In file included from log_mpi_core.c:6997:0:<br>
>> log_mpi_io.c:1689:5: error: conflicting types for ‘MPI_File_write_all_begin’<br>
>> int MPI_File_write_all_begin( MPI_File fh,void * buf,int count,MPI_Datatype datatype )<br>
>> ^<br>
>> In file included from /mirror/mpich2/include/mpi.h:2121:0,<br>
>> from log_mpi_core.c:10:<br>
>> /mirror/mpich2/include/mpio.h:207:5: note: previous declaration of ‘MPI_File_write_all_begin’ was here<br>
>> int MPI_File_write_all_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype)<br>
>> ^<br>
>> In file included from log_mpi_core.c:6997:0:<br>
>> log_mpi_io.c:1722:5: error: conflicting types for ‘MPI_File_write_all_end’<br>
>> int MPI_File_write_all_end( MPI_File fh,void * buf,MPI_Status * status )<br>
>> ^<br>
>> In file included from /mirror/mpich2/include/mpi.h:2121:0,<br>
>> from log_mpi_core.c:10:<br>
>> /mirror/mpich2/include/mpio.h:209:5: note: previous declaration of ‘MPI_File_write_all_end’ was here<br>
>> int MPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status *status);<br>
>> ^<br>
>> In file included from log_mpi_core.c:6997:0:<br>
>> log_mpi_io.c:1821:5: error: conflicting types for ‘MPI_File_write_ordered_begin’<br>
>> int MPI_File_write_ordered_begin( MPI_File fh,void * buf,int count,MPI_Datatype datatype )<br>
>> ^<br>
>> In file included from /mirror/mpich2/include/mpi.h:2121:0,<br>
>> from log_mpi_core.c:10:<br>
>> /mirror/mpich2/include/mpio.h:213:5: note: previous declaration of ‘MPI_File_write_ordered_begin’ was here<br>
>> int MPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype)<br>
>> ^<br>
>> In file included from log_mpi_core.c:6997:0:<br>
>> log_mpi_io.c:1854:5: error: conflicting types for ‘MPI_File_write_ordered_end’<br>
>> int MPI_File_write_ordered_end( MPI_File fh,void * buf,MPI_Status * status )<br>
>> ^<br>
>> In file included from /mirror/mpich2/include/mpi.h:2121:0,<br>
>> from log_mpi_core.c:10:<br>
>> /mirror/mpich2/include/mpio.h:215:5: note: previous declaration of ‘MPI_File_write_ordered_end’ was here<br>
>> int MPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status *status);<br>
>> ^<br>
>> make[4]: *** [log_mpi_core.o] Error 1<br>
>> make[3]: *** [build_lib_bin] Error 2<br>
>> make[2]: *** [all] Error 2<br>
>><br>
>> **** Making src/graphics ....<br>
>> make --no-print-directory build_lib_bin<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://mpe_graphics.no" target="_blank">mpe_graphics.no</a> -c mpe_graphics.c<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://xcolor.no" target="_blank">xcolor.no</a> -c xcolor.c<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://xframe.no" target="_blank">xframe.no</a> -c xframe.c<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://xinit.no" target="_blank">xinit.no</a> -c xinit.c<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://xwmap.no" target="_blank">xwmap.no</a> -c xwmap.c<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://xmouse.no" target="_blank">xmouse.no</a> -c xmouse.c<br>
>> cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -DMPE_NOMPI -o <a href="http://xkey.no" target="_blank">xkey.no</a> -c xkey.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o mpe_graphics.po -c mpe_graphics.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o xcolor.po -c xcolor.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o xframe.po -c xframe.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o xinit.po -c xinit.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o xwmap.po -c xwmap.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o xmouse.po -c xmouse.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o xkey.po -c xkey.c<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -o visual_mess.po -c visual_mess.c<br>
>> visual_mess.c: In function ‘MPI_Bsend’:<br>
>> visual_mess.c:325:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:847:5: error: prototype declaration<br>
>> int MPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Bsend_init’:<br>
>> visual_mess.c:349:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:884:5: error: prototype declaration<br>
>> int MPI_Bsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Send_init’:<br>
>> visual_mess.c:445:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:882:5: error: prototype declaration<br>
>> int MPI_Send_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Ibsend’:<br>
>> visual_mess.c:481:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:857:5: error: prototype declaration<br>
>> int MPI_Ibsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Irsend’:<br>
>> visual_mess.c:546:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:861:5: error: prototype declaration<br>
>> int MPI_Irsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Isend’:<br>
>> visual_mess.c:582:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:855:5: error: prototype declaration<br>
>> int MPI_Isend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Issend’:<br>
>> visual_mess.c:618:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:859:5: error: prototype declaration<br>
>> int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Rsend’:<br>
>> visual_mess.c:679:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:851:5: error: prototype declaration<br>
>> int MPI_Rsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Rsend_init’:<br>
>> visual_mess.c:703:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:888:5: error: prototype declaration<br>
>> int MPI_Rsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Send’:<br>
>> visual_mess.c:739:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:842:5: error: prototype declaration<br>
>> int MPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Sendrecv’:<br>
>> visual_mess.c:763:8: error: argument ‘sendbuf’ doesn’t match prototype<br>
>> void * sendbuf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:894:5: error: prototype declaration<br>
>> int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Ssend’:<br>
>> visual_mess.c:828:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:849:5: error: prototype declaration<br>
>> int MPI_Ssend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> visual_mess.c: In function ‘MPI_Ssend_init’:<br>
>> visual_mess.c:852:8: error: argument ‘buf’ doesn’t match prototype<br>
>> void * buf;<br>
>> ^<br>
>> In file included from visual_mess.c:27:0:<br>
>> /mirror/mpich2/include/mpi.h:886:5: error: prototype declaration<br>
>> int MPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag,<br>
>> ^<br>
>> make[4]: *** [visual_mess.po] Error 1<br>
>> make[3]: *** [build_lib_bin] Error 2<br>
>> make[2]: *** [all] Error 2<br>
>><br>
>> **** Making src/collchk ....<br>
>> make --no-print-directory build_lib_bin<br>
>> make --no-print-directory /mirror/mpe2-1.3.0/lib/libmpe_collchk.a<br>
>> /mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../.. -I../../../include -I/mirror/mpich2/include/ -c begin.c<br>
>> In file included from begin.c:5:0:<br>
>> ../include/collchk.h:25:5: error: conflicting types for ‘MPI_Add_error_string’<br>
>> int MPI_Add_error_string(int errorcode, char *string);<br>
>> ^<br>
>> In file included from ../include/collchk.h:20:0,<br>
>> from begin.c:5:<br>
>> /mirror/mpich2/include/mpi.h:1157:5: note: previous declaration of ‘MPI_Add_error_string’ was here<br>
>> int MPI_Add_error_string(int errorcode, const char *string);<br>
>> ^<br>
>> make[5]: *** [begin.o] Error 1<br>
>> make[4]: *** [default] Error 2<br>
>> make[3]: *** [build_lib_bin] Error 2<br>
>> make[2]: *** [all] Error 2<br>
>><br>
>> ......<br>
>><br>
>> make /mirror/mpe2-1.3.0/src/slog2sdk/trace_rlog/bin/rlog_print<br>
>> cc -I.. -I/usr/lib/jvm/java-7-openjdk-amd64/include -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux -I../../src/logformat/trace -g -O2 -c trace_input.c<br>
>> cc -I.. -I/usr/lib/jvm/java-7-openjdk-amd64/include -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux -I../../src/logformat/trace -g -O2 -c rlogutil.c<br>
>> rlogutil.c: In function ‘RLOG_CreateInputStruct’:<br>
>> rlogutil.c:107:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]<br>
>> fread(&length, sizeof(int), 1, pInput->f);<br>
>> ^<br>
>> rlogutil.c:159:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]<br>
>> fread(&cur_rank, sizeof(int), 1, pInput->f);<br>
>> ^<br>
>> rlogutil.c:167:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]<br>
>> fread(&pInput->pNumEventRecursions[rank_index], sizeof(int), 1, pInput->f);<br>
>><br>
>> _______________________________________________<br>
>> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
>> To manage subscription options or unsubscribe:<br>
>> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
><br>
> _______________________________________________<br>
> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
</div></div>--<br>
Pavan Balaji ✉️<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></div></div></blockquote></div></div>