<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=181132017-09112007>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=181132017-09112007> As per the MPI-2 standard an MPI broadcast
(MPI_Bcast()) on an intercommunicator results in the sender broadcasting the
data to all processes in the remote group. So a simple MPI_Bcast() on the
intercommunicator returned by connect/accept should work for
you.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=181132017-09112007> If you need to send the data to all processes
belonging to group A as well as group B you could create an intracommunicator
from the intercommunicator (returned by accept/connect) using
MPI_Intercomm_merge() and do an MPI broadcast on the
intracommunicator.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=181132017-09112007><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=181132017-09112007><FONT face=Arial color=#0000ff
size=2>Jayesh</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> menglige [mailto:menglige@gmail.com]
<BR><B>Sent:</B> Friday, November 09, 2007 1:40 AM<BR><B>To:</B>
jayesh<BR><B>Subject:</B> a question about broadcast<BR></FONT><BR></DIV>
<DIV></DIV><FONT face=宋体 size=2>
<DIV>Hi!</DIV>
<DIV style="TEXT-INDENT: 2em">i want to broadcast from Rank 0 in group A to
group B,and i have open a port and a communicator named comm.How can i do
it?</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV> <IMG src="cid:181132017@09112007-182E">Thank you ! Have a
nice day!</DIV>
<DIV></DIV>
<DIV>--------------</DIV>
<DIV>menglige</DIV>
<DIV>2007-11-09</DIV></FONT></BODY></HTML>