mpi4py-examples icon indicating copy to clipboard operation
mpi4py-examples copied to clipboard

Create 03-scatter-gather-pyobj

Open chengs opened this issue 8 years ago • 3 comments
trafficstars

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."

chengs avatar Nov 21 '17 16:11 chengs

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.

jbornschein avatar Nov 23 '17 16:11 jbornschein

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.

chengs avatar Nov 24 '17 07:11 chengs

If it is OK to you, I suggest we work together and add all the py-object examples into your project.

chengs avatar Nov 24 '17 09:11 chengs