I'm looking for a pyMPI alternative to MPI_SPLIT_COMM. At the moment I'm attempting to recreate it by using mpi.comm_create:
newcomm = mpi.comm_create( mpi.WORLD[0::2] )
Which is listed in the help(mpi.comm_create) as a way to create a communicator that contains all the even processors. My question is whether there is a better way to split up communicators and create new ones?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm looking for a pyMPI alternative to MPI_SPLIT_COMM. At the moment I'm attempting to recreate it by using mpi.comm_create:
newcomm = mpi.comm_create( mpi.WORLD[0::2] )
Which is listed in the help(mpi.comm_create) as a way to create a communicator that contains all the even processors. My question is whether there is a better way to split up communicators and create new ones?