mpi4py-examples
mpi4py-examples copied to clipboard
Create 03-scatter-gather-pyobj
the example of the scatter on python array. In the Mpi4py document, it says "The lower-case variants MPI.Comm.bcast(), MPI.Comm.scatter(), MPI.Comm.gather(), MPI.Comm.allgather() and MPI.Comm.alltoall() can communicate general Python objects."
Hi,
thanks for the contribution!
I think it would be better to give this example a separate number instead of cramping it together with the other scatter-gather example. I guess thats a rather subjective decision. But if we only have 1 (or a few) examples for py-objects instead of replicxating all of them, that seems cleaner to me.
Can you rename it? I will merge it shortly after then.
Of course, which number you prefer? 11-scatter-gather-pyobj ?
P.S. In fact the project maintainer can edit, so you can directly edit as you like.
If it is OK to you, I suggest we work together and add all the py-object examples into your project.