Boost logo

Boost Users :

Subject: Re: [Boost-users] Cannot compile boost mpi example
From: Hernan Grecco (hernan.grecco_at_[hidden])
Date: 2010-05-29 03:02:33


Hi,

Thanks for the response. This is a little bit confusing to me. According to:

http://www.boost.org/doc/libs/1_43_0/more/getting_started/unix-variants.html

I do not need to build BOOST.MPI. I thought Boost.MPI was a header only library.

Thanks,

Hernan

On Sat, May 29, 2010 at 5:37 AM, Belcourt, Kenneth <kbelco_at_[hidden]> wrote:
>
> 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.installation
>
> -- Noel
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net