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