Boost logo

Boost :

From: aydozz (aydinbuluc_at_[hidden])
Date: 2007-10-21 17:48:51


Try adding the following line to your "user-config.jam" before running bjam

using gcc : : : <cxxflags>-DMPICH_IGNORE_CXX_SEEK ;

Cheers,
-- Aydin

Benjamin Collins wrote:
>
> A common problem that occurs when building mpich2 is that SEEK_SET,
> SEEK_CUR, and SEEK_END are all defined. mpich2 (specifically
> mpicxx.h) requires them to be unset to avoid problems caused by both
> the MPI interface and stdio using them.
>
> Anyway, the suggested solution is to #undef each macro before #include
> <mpi.h>. I tried that in the mpi library, and it still failed to
> build. I also tried adding <define>MPICH_IGNORE_CXX_SEEK=1 to the mpi
> Jamfile. Alas, it didn't fix the problem either. The failure occurs
> when building release/threading-multi/collective.o
>
> How are users of mpich2+boost::mpi getting around this problem?
>
> --
> Benjamin A. Collins <aggieben_at_[hidden]>
> http://bloggoergosum.us
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
>

-- 
View this message in context: http://www.nabble.com/-mpi--SEEK_*-defined%2C-but-shouldn%27t-be-tf4657004.html#a13326892
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk