I cannot provide a definitive suggestion without knowing a bit more
about your application. Are you tasks going to take more or less the
same time, or do you expect a high unbalance here? Can you afford to
have the master process dedicated for the bookkeeping, without doing
any actual computation? Depending on these two points, the way to go
could be as trivial as using scatter() at the beginning and gather()
at the end, or slightly more complex, like the master using Comm.Probe
(or Comm.Iprobe) with wildcard source in a busy loop until the queue
gets emptied.
> The cluster has openMPI installed, can I assume that will work nicely
> with mpi4py?
>
It should work.
Disclaimer: Open MPI has managed to make my life miserable (note: I'm
exaggerating) in the last couple of years. So if you have any issues,
do not hesitate to ask here for assistance.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594