Boost logo

Boost Users :

Subject: Re: [Boost-users] boost MPI issue on windows
From: Nick Collier (nick.collier_at_[hidden])
Date: 2010-11-08 09:11:04


I'm not sure. I'll have to check. boost is obviously compiled with VS 2008 via bjam and my code directly in VS 2008.

Note that I switched compilers to VS 2010 and everything now works as expected. More specifically, I recompile boost and my own code with VS 2010 and I no longer get any errors in debug or release modes.

thanks,

Nick

On Nov 2, 2010, at 3:03 PM, Matthias Troyer wrote:

>
>
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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