[mpich-discuss] trouble with compiling with MPE

Anthony Chan chan at mcs.anl.gov
Thu May 19 15:54:16 CDT 2011


It seems gauss_mpi is a C++ program, shouldn't you use "mpicxx -mpe=graphics"
to compile it (you don't need -lmpe for sure , probably not even
-lX11 if configure went through OK).

A.Chan

----- Original Message -----
> Dear MPICH2 People:
> 
> I have installed MPICH2 (several times) but I'm having problems
> compiling a program with MPE stuff.
> 
> Here is the error message:
> 
> erin at ubuntu:~$ mpicc gauss_mpi.cpp -o gauss_mpi -lmpe -lX11
> gauss_mpi.cpp:56:1: error: ‘MPE_Color’ does not name a type
> gauss_mpi.cpp:62:13: error: variable or field ‘doplot’ declared void
> gauss_mpi.cpp:62:13: error: ‘MPE_XGraph’ was not declared in this
> scope
> gauss_mpi.cpp:62:27: error: expected primary-expression before
> ‘double’
> gauss_mpi.cpp:62:39: error: expected primary-expression before ‘int’
> gauss_mpi.cpp:62:55: error: expected primary-expression before ‘int’
> gauss_mpi.cpp:62:65: error: expected primary-expression before ‘int’
> gauss_mpi.cpp:62:72: error: expected primary-expression before ‘int’
> erin at ubuntu:~$
> 
> Does this look familiar please? Can you suggest any fixes, please?
> 
> Thanks,
> Erin
> 
> 
> Erin M. Hodgess, PhD
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: hodgesse at uhd.edu
> 
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list