
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@gmail.com> 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.h... Sent from the Boost - Dev mailing list archive at Nabble.com.