Atul.
2009-02-11 00:06:03 UTC
Hi All,
I am trying to use the random_shuffle algorithm from C++ STL to
shuffle the
contents of a vectors. Now I wish to use MPI to execute this
functionality in parallel on multiple processors. I believe that the
parallel execution of the random_shuffle will not be indentical on
all
the machinies. Is that correct?
If that is correct then I was wondering if there is any good way of
sending the shuffled vector around (without converting to an array.).
Has anyone in the past circulated the C++ STL vectors around using
MPI_BCAST? Any thoughts on how to do it?
Can I try the variant with RandomNumberGenerator class??
Regards,
Atul.
I am trying to use the random_shuffle algorithm from C++ STL to
shuffle the
contents of a vectors. Now I wish to use MPI to execute this
functionality in parallel on multiple processors. I believe that the
parallel execution of the random_shuffle will not be indentical on
all
the machinies. Is that correct?
If that is correct then I was wondering if there is any good way of
sending the shuffled vector around (without converting to an array.).
Has anyone in the past circulated the C++ STL vectors around using
MPI_BCAST? Any thoughts on how to do it?
Can I try the variant with RandomNumberGenerator class??
Regards,
Atul.