[mpich-discuss] trouble with compiling with MPE

Nicolas Rosner nrosner at gmail.com
Thu May 19 12:35:44 CDT 2011


Hi Erin,

> gauss_mpi.cpp:56:1: error: ‘MPE_Color’ does not name a type
> gauss_mpi.cpp:62:13: error: ‘MPE_XGraph’ was not declared in this scope

Did you by any chance forget to #include "mpe_graphics.h"?

> erin at ubuntu:~$ mpicc gauss_mpi.cpp -o gauss_mpi -lmpe -lX11

Also, you may want to use the other wrapper (mpicxx, not mpicc) to
compile C++ code.

Hope this helps,

Nicolás


More information about the mpich-discuss mailing list