|
Boost : |
From: Benjamin Collins (ben.collins_at_[hidden])
Date: 2007-12-03 17:21:14
Sorry if this turns out to be a dup, but I think my original message
got bounced by the list bouncer.
On Oct 22, 2007 10:10 AM, Douglas Gregor <dgregor_at_[hidden]> wrote:
> How about putting a
>
> #define MPICH_IGNORE_CXX_SEEK 1
>
> at the top of boost/mpi/config.hpp, before the inclusion of mpi.h?
>
> If that works for you, I'll go ahead and make the change in
> Subversion. I'd normally just test this myself, but I don't have easy
> access to an MPICH2 installation at the moment.
IAydin's suggestion to add that flag to the global <cxxflags> fixes
the problems, but that's not
necessarily the solution to hang your hat on - it should work out of
the box (albeit the user may have to add the path to his mpicxx
wrapper anyway).
I tried your suggestion, but it didn't work. I tracked down the
problem to three files that are including mpi.h directly, but not
including boost/mpi/config.hpp:
./boost/mpi/detail/packed_oprimitive.hpp
./boost/mpi/detail/packed_iprimitive.hpp
./boost/mpi/detail/mpi_datatype_primitive.hpp
I've submitted two patches tha define MPICH_IGNORE_CXX_SEEK in those
three files and in boost/mpi/config.hpp.
Ticket #1486, here: http://svn.boost.org/trac/boost/ticket/1486
-- Benjamin A. Collins <ben.collins_at_[hidden]> http://bloggoergosum.us
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk