[mpich-discuss] Communication between child node and parent node

Rajeev Thakur thakur at mcs.anl.gov
Wed Oct 21 16:52:21 CDT 2009


As long as B was part of the communicator passed to MPI_Comm_spawn, yes.
 
Rajeev


  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of abhishek pandey
Sent: Wednesday, October 21, 2009 4:36 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Communication between child node and parent
node


Another question,

I have two process at start, lets say A, B in COMM_WORLD  and I start
some child processes from A. 
Now can any child process communicate with process B of COMM_WORLD ? If
this is possible then please let me know the way.

Thanks,
Abhishek


On Thu, Oct 22, 2009 at 3:43 AM, abhishek pandey <hipandey at gmail.com>
wrote:


Thanks Dave.

-Abhishek 


On Thu, Oct 22, 2009 at 12:59 AM, Dave Goodell <goodell at mcs.anl.gov>
wrote:


Use MPI_Comm_get_parent to get the intercommunicator handle for
communicating with your parent.  See the MPI-2.2 Standard, section
10.3.2, page 312.

-Dave 


On Oct 21, 2009, at 5:52 AM, abhishek pandey wrote:



Hi,

How can a child process can communicate with its parent ? I am spawning
the processes from a node using MPI_Comm_spawn.

Thanks,
Abhishek

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091021/b061334a/attachment-0001.htm>


More information about the mpich-discuss mailing list