Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

pyMPI and MPI_SPLIT_COMM

Help
2004-11-09
2013-04-17
  • 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?