Hi,
I seem to be having similar problems to this post:
http://lists.boost.org/boost-users/2007/10/31648.php
My MPI implementation is MPICH2; the first example in the docs at
http://www.osl.iu.edu/~dgregor/boost.mpi/doc/mpi/tutorial.html works
fine (this just creates a communicator and prints each process'
rank).
The second example in the tutorial (with recv and send):
#include &, mpl_::bool_<false>) constin ccxddhyu.o
void boost::mpi::communicator::send_impl My compiled invocation (which as mentioned compiles the first tutorial
example) is just
mpic++ -lboost_mpi-mt -lboost_serialization-mt main.cpp
The problem (as for the person in the post I linked at the top) seems
to be that mpi::communicator defines a conversion operator to
MPI_Comm, which is just a typedef for int in MPICH2, but somehow the
correct operator isn't found in the compiled lib..
Unlike the person in the linked post, I haven't had any other MPI
libraries installed before, so there should be no inconsistencies.
This problem occurs with 32 and 64-bit compiled libs built from
subversion repos. code today.
Thanks
Tom