Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2008-04-16 14:41:38


On Apr 16, 2008, at 10:42 AM, Andreas Buhr wrote:

> Hi Doug,
>
> Doug Gregor wrote:
>>> I cannot compile boost.mpi with msvc 8.0 64bit. The complete error
>>> message is attached.
>
>> The problem here is that Boost.MPI isn't properly defining the MPI
>> datatype for "std::size_t". Could you try changing the "#if 0" on
>> line
>> 255 of boost/mpi/datatype.hpp to "#if 1"?
>
> Thanks a lot, that fixed it. I am able to compile boost 1.35 with mpi
> using MSVC 2005 64bit if "long long" and "unsigned long long" are
> defined as MPI datatype, the definition enabled by the procedure you
> described.

Great! The Boost trunk and release branches have a more correct
version of this fix, along with another datatype-related fix that
solved some problems I ran into with MSVC 2008.

        - Doug


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net