No problem! I will make the requested changes and submit another pull
request the next time I have a chance to work on this project.

   Craig


On Wed, Apr 9, 2014 at 8:29 AM, Jörg Bornschein <notifications@github.com>wrote:

> In 09-task-pull.py:
>
> > +from mpi4py import MPI
> > +
> > +def enum(*sequential, **named):
> > +    """Handy way to fake an enumerated type in Python
> > +    http://stackoverflow.com/questions/36932/how-can-i-represent-an-enum-in-python
> > +    """
> > +    enums = dict(zip(sequential, range(len(sequential))), **named)
> > +    return type('Enum', (), enums)
> > +
> > +# Define MPI message tags
> > +tags = enum('READY', 'DONE', 'EXIT', 'START')
> > +
> > +# Initializations and preliminaries
> > +comm = MPI.COMM_WORLD   # get MPI communicator object
> > +size = comm.Get_size()  # total number of processes
> > +rank = comm.Get_rank()  # rank of this process
>
> Can you switch to comm.size and comm.rank here? Just to be consistent with
> the other examples.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/jbornschein/mpi4py-examples/pull/1/files#r11432838>
> .
>