[MPICH] Changing the comm size at runtime

Rajeev Thakur thakur at mcs.anl.gov
Fri Apr 13 10:52:23 CDT 2007


Probably it just happens to work in this case. The root does all the work
anyway.

Rajeev

 

> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Patrick Gräbel
> Sent: Friday, April 13, 2007 3:40 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: RE: [MPICH] Changing the comm size at runtime
> 
> Quoting Rajeev Thakur <thakur at mcs.anl.gov>:
> > This would also work. I think the slaves would need to call 
> Accept in the
> > loop, not connect, because they become part of the 
> communicator that the
> > master uses to call Accept.
> >
> 
> That makes sense, because the growing intra communicator does a  
> collective accept on a new, single connecting slave. Actually  
> "connect" instead of "accept" works also, but I guess it 
> shouldn't! Is  
> that a weird effect I should forget as soon as possible? As for me I  
> can not explain the conforming behaviour...
> 
> Thanks
> Patrick
> 
> 
> 




More information about the mpich-discuss mailing list