How can I do an overlapping scatter using Boost.MPI?

417 Views Asked by At

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?

1

There are 1 best solutions below

0
On

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.