views:

71

answers:

1

I want to distribute a vector with overlapping elements. For example, if I had [1,2,3], I'd want [1,2] to get sent to one node, and [2,3] to get sent to another. I'm familiar with how to do this using MPI, but how would I do this using Boost::MPI?

A: 

Never tried, but I think you can use ranges or slices. You may need to provide your own serialization if it's not included in Boost Serialization.

baol