Boost logo

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
> 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:


I've submitted two patches tha define MPICH_IGNORE_CXX_SEEK in those
three files and in boost/mpi/config.hpp.

Ticket #1486, here:

Benjamin A. Collins <ben.collins_at_[hidden]>

Boost list run by bdawes at, gregod at, cpdaniel at, john at