[mpich-discuss] Problem installing and using MPE

Fateme Hendijani fateme.hendijani at gmail.com
Mon Dec 15 12:50:15 CST 2014


Hello,

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.
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:

*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*

I had actually disabled the mpedbg, since while making, it went to a loop
that could not find it.

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.

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)

2- I appreciate your help for installing.

Thanks,

Fatemeh


In file included from log_mpi_core.c:6997:0:
log_mpi_io.c:1590:5: error: conflicting types for
‘MPI_File_write_at_all_end’
 int MPI_File_write_at_all_end( MPI_File  fh,void * buf,MPI_Status *
status  )
     ^
In file included from /mirror/mpich2/include/mpi.h:2121:0,
                 from log_mpi_core.c:10:
/mirror/mpich2/include/mpio.h:203:5: note: previous declaration of
‘MPI_File_write_at_all_end’ was here
 int MPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status
*status);
     ^
In file included from log_mpi_core.c:6997:0:
log_mpi_io.c:1689:5: error: conflicting types for ‘MPI_File_write_all_begin’
 int MPI_File_write_all_begin( MPI_File  fh,void * buf,int
count,MPI_Datatype  datatype  )
     ^
In file included from /mirror/mpich2/include/mpi.h:2121:0,
                 from log_mpi_core.c:10:
/mirror/mpich2/include/mpio.h:207:5: note: previous declaration of
‘MPI_File_write_all_begin’ was here
 int MPI_File_write_all_begin(MPI_File fh, const void *buf, int count,
MPI_Datatype datatype)
     ^
In file included from log_mpi_core.c:6997:0:
log_mpi_io.c:1722:5: error: conflicting types for ‘MPI_File_write_all_end’
 int MPI_File_write_all_end( MPI_File  fh,void * buf,MPI_Status * status  )
     ^
In file included from /mirror/mpich2/include/mpi.h:2121:0,
                 from log_mpi_core.c:10:
/mirror/mpich2/include/mpio.h:209:5: note: previous declaration of
‘MPI_File_write_all_end’ was here
 int MPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status
*status);
     ^
In file included from log_mpi_core.c:6997:0:
log_mpi_io.c:1821:5: error: conflicting types for
‘MPI_File_write_ordered_begin’
 int MPI_File_write_ordered_begin( MPI_File  fh,void * buf,int
count,MPI_Datatype  datatype  )
     ^
In file included from /mirror/mpich2/include/mpi.h:2121:0,
                 from log_mpi_core.c:10:
/mirror/mpich2/include/mpio.h:213:5: note: previous declaration of
‘MPI_File_write_ordered_begin’ was here
 int MPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count,
MPI_Datatype datatype)
     ^
In file included from log_mpi_core.c:6997:0:
log_mpi_io.c:1854:5: error: conflicting types for
‘MPI_File_write_ordered_end’
 int MPI_File_write_ordered_end( MPI_File  fh,void * buf,MPI_Status *
status  )
     ^
In file included from /mirror/mpich2/include/mpi.h:2121:0,
                 from log_mpi_core.c:10:
/mirror/mpich2/include/mpio.h:215:5: note: previous declaration of
‘MPI_File_write_ordered_end’ was here
 int MPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status
*status);
     ^
make[4]: *** [log_mpi_core.o] Error 1
make[3]: *** [build_lib_bin] Error 2
make[2]: *** [all] Error 2

**** Making src/graphics ....
make --no-print-directory  build_lib_bin
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o mpe_graphics.no -c mpe_graphics.c
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o xcolor.no -c xcolor.c
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o xframe.no -c xframe.c
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o xinit.no -c xinit.c
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o xwmap.no -c xwmap.c
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o xmouse.no -c xmouse.c
cc -I.. -I../include -I/mirror/mpe2-1.3.0/include -I../../..
-I../../../include    -DMPE_NOMPI -o xkey.no -c xkey.c
/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
/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
/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
/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
/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
/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
/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
/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
visual_mess.c: In function ‘MPI_Bsend’:
visual_mess.c:325:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:847:5: error: prototype declaration
 int MPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest,
int tag,
     ^
visual_mess.c: In function ‘MPI_Bsend_init’:
visual_mess.c:349:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:884:5: error: prototype declaration
 int MPI_Bsend_init(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
visual_mess.c: In function ‘MPI_Send_init’:
visual_mess.c:445:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:882:5: error: prototype declaration
 int MPI_Send_init(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
visual_mess.c: In function ‘MPI_Ibsend’:
visual_mess.c:481:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:857:5: error: prototype declaration
 int MPI_Ibsend(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
visual_mess.c: In function ‘MPI_Irsend’:
visual_mess.c:546:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:861:5: error: prototype declaration
 int MPI_Irsend(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
visual_mess.c: In function ‘MPI_Isend’:
visual_mess.c:582:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:855:5: error: prototype declaration
 int MPI_Isend(const void *buf, int count, MPI_Datatype datatype, int dest,
int tag,
     ^
visual_mess.c: In function ‘MPI_Issend’:
visual_mess.c:618:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:859:5: error: prototype declaration
 int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
visual_mess.c: In function ‘MPI_Rsend’:
visual_mess.c:679:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:851:5: error: prototype declaration
 int MPI_Rsend(const void *buf, int count, MPI_Datatype datatype, int dest,
int tag,
     ^
visual_mess.c: In function ‘MPI_Rsend_init’:
visual_mess.c:703:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:888:5: error: prototype declaration
 int MPI_Rsend_init(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
visual_mess.c: In function ‘MPI_Send’:
visual_mess.c:739:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:842:5: error: prototype declaration
 int MPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest,
int tag,
     ^
visual_mess.c: In function ‘MPI_Sendrecv’:
visual_mess.c:763:8: error: argument ‘sendbuf’ doesn’t match prototype
 void * sendbuf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:894:5: error: prototype declaration
 int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype
sendtype, int dest,
     ^
visual_mess.c: In function ‘MPI_Ssend’:
visual_mess.c:828:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:849:5: error: prototype declaration
 int MPI_Ssend(const void *buf, int count, MPI_Datatype datatype, int dest,
int tag,
     ^
visual_mess.c: In function ‘MPI_Ssend_init’:
visual_mess.c:852:8: error: argument ‘buf’ doesn’t match prototype
 void * buf;
        ^
In file included from visual_mess.c:27:0:
/mirror/mpich2/include/mpi.h:886:5: error: prototype declaration
 int MPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int
dest, int tag,
     ^
make[4]: *** [visual_mess.po] Error 1
make[3]: *** [build_lib_bin] Error 2
make[2]: *** [all] Error 2

**** Making src/collchk ....
make --no-print-directory  build_lib_bin
make --no-print-directory  /mirror/mpe2-1.3.0/lib/libmpe_collchk.a
/mirror/mpich2/bin/mpicc -I.. -I../include -I/mirror/mpe2-1.3.0/include
-I../../.. -I../../../include -I/mirror/mpich2/include/   -c begin.c
In file included from begin.c:5:0:
../include/collchk.h:25:5: error: conflicting types for
‘MPI_Add_error_string’
 int MPI_Add_error_string(int errorcode, char *string);
     ^
In file included from ../include/collchk.h:20:0,
                 from begin.c:5:
/mirror/mpich2/include/mpi.h:1157:5: note: previous declaration of
‘MPI_Add_error_string’ was here
 int MPI_Add_error_string(int errorcode, const char *string);
     ^
make[5]: *** [begin.o] Error 1
make[4]: *** [default] Error 2
make[3]: *** [build_lib_bin] Error 2
make[2]: *** [all] Error 2

......

make  /mirror/mpe2-1.3.0/src/slog2sdk/trace_rlog/bin/rlog_print
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
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
rlogutil.c: In function ‘RLOG_CreateInputStruct’:
rlogutil.c:107:7: warning: ignoring return value of ‘fread’, declared with
attribute warn_unused_result [-Wunused-result]
  fread(&length, sizeof(int), 1, pInput->f);
       ^
rlogutil.c:159:11: warning: ignoring return value of ‘fread’, declared with
attribute warn_unused_result [-Wunused-result]
      fread(&cur_rank, sizeof(int), 1, pInput->f);
           ^
rlogutil.c:167:11: warning: ignoring return value of ‘fread’, declared with
attribute warn_unused_result [-Wunused-result]
      fread(&pInput->pNumEventRecursions[rank_index], sizeof(int), 1,
pInput->f);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20141215/6c08e93f/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list