Boost logo

Boost :

From: David Osipyan (David_Osipyan_at_[hidden])
Date: 2007-11-29 10:46:19


I try to use boost.mpi in my particle-in-cell simulation code.
I have a vector of particles. How can I send parts of this vector
from root process to all of slaves, and send backward to root ?
Is it possible via mpi::scatter() and mpi::skeleton/content?

I need to send particles from range 0..n to first slave, n+1 ..
2*n+1 to second slave etc. After porocessing each slave shall
return the new values of parts to root.

Thanks,
David.

This transmission is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. You are hereby notified that any use, dissemination, distribution or duplication of this transmission by someone other than the intended addressee or its designated agent is strictly prohibited. If you have received this transmission in error, please notify this company immediately by reply to this transmission and delete it from your computer. Thank You. Credence Systems Corporation.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk