Boost logo

Boost Users :

Subject: Re: [Boost-users] boost MPI issue on windows
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-11-02 15:03:17


On 1 Nov 2010, at 20:41, Nick Collier wrote:

> On Nov 1, 2010, at 3:25 PM, Matthias Troyer wrote:
>
>>
>> On 1 Nov 2010, at 15:41, Nick Collier wrote:
>>
>>> With that in place in Release mode, t
>>>
>>> 1st (in scatter.hpp) ar.size(): 48
>>
>> the line after that is a call to:
>>
>> detail::packed_archive_send(comm, dest, tag, oa);
>>
>>
>> and in that function:
>>
>> void packed_archive_send(MPI_Comm comm, int dest, int tag,
>> const packed_oarchive& ar)
>>
>> you immediately print the strange number:
>>
>>> 2nd (before line 31 in point_to_point.cpp) ar.size(): 2292879725
>>>
>>> In Debug mode, both are 48.
>>
>> Do you agree? If so, this is a clear optimizer error.
>>
>> Matthias
>
> Yes, immediately before the call its normal, then in the function its the strange number.
>
> Nick
>

One potential issue comes to my mind: have you compiled the Boost libraries with the same compiler flags as your code?

Matthias


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