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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users