29 May
2010
29 May
'10
3:37 a.m.
On May 28, 2010, at 1:16 PM, Hernan Grecco wrote:
I have downloaded boost 1.43 and run many of the examples without a problem. However, I am not able to compile any of the parallel graph examples. I traced the problem to using boost MPI. For example when I compile the first example in:
http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/tutorial.html
I get:
/tmp/ccwOi38z.o(.text+0x132): In function `main': : undefined reference to `boost::mpi::environment::environment(int&, char**&, bool)'
I'd guess you're not linking against the Boost.MPI library. Are you sure you've built the library and are you linking against it? http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.i... -- Noel