<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=837321314-06092007>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=837321314-06092007> The process manager (smpd) is responsible for
launching the MPI processes on the various machines and providing an MPI
processes information on how to communicate with other MPI
processes.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=837321314-06092007> The SMPD process manager listens (default
case) on port 8676 and then asks the client PM to connect to a new port. So
you should allow SMPD process manager (smpd.exe --- installed as a service in
windows) to communicate at all ports (This is the easiest way. However you can
also restrict the port range used by SMPD. Refer to the windows devloper's guide
available at <A
href="http://www-unix.mcs.anl.gov/mpi/mpich/">http://www-unix.mcs.anl.gov/mpi/mpich/</A> for
details.)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN class=837321314-06092007> Make
sure that no firewall (1. Running on the individual machines 2. OR
on the network, filtering the traffic btw the machines) is preventing the
process managers & the MPI procs on the individual machines from
contacting each other.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN
class=837321314-06092007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN class=837321314-06092007>(Note: Since
you do not know what changed in your network, it might help if you try analyzing
the network packets sent btw the machines using a packet sniffer like
Ethereal.)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN
class=837321314-06092007></SPAN></FONT> </DIV>
<DIV><SPAN class=837321314-06092007><FONT face=Arial
color=#0000ff>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=837321314-06092007><FONT face=Arial
color=#0000ff>Jayesh</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Richard
Li<BR><B>Sent:</B> Wednesday, September 05, 2007 8:21 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] MPI_Bcast hangs in Windows
XP<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="TEXT-ALIGN: left"><FONT face=Arial>
<DIV><SPAN class=EC_618441420-17082007><FONT face=Arial>Hi
there,</FONT></SPAN></DIV>
<DIV><SPAN class=EC_618441420-17082007></SPAN> </DIV>
<DIV><SPAN class=EC_618441420-17082007><FONT face=Arial>I am writing an
application in Windows XP/VC8 and am having problem with MPI_Bcast(). I am
working in corporate environment and suspect it may have something to do with
our security policies, however, I don't know exact which low-level operations
failed . </FONT></SPAN></DIV>
<DIV><SPAN class=EC_618441420-17082007></SPAN> </DIV>
<DIV><SPAN class=EC_618441420-17082007><FONT face=Arial>Here is the symptom: my
application (as well as cpi.exe example) works fine as long as there is only one
machine in the machine file, whether its local machine or remote does not
matter. It hangs at MPI_Bcast() when I have more than one machine in
MPI_COMM_WORLD. </FONT></SPAN><FONT face=Arial><SPAN
class=EC_618441420-17082007><FONT face=Arial>I am using
</SPAN>mpich2-1.0.5p2-win32-ia32.msi.</FONT></FONT></DIV>
<DIV><SPAN class=EC_618441420-17082007></SPAN> </DIV>
<DIV><SPAN class=EC_618441420-17082007><FONT face=Arial>The same application
worked perfectly a year ago and there have been many security policy changes
since that time(as usual, all policies reduce our freedom). My question is that
what's the communication mechanism used in inter-node communication. I tried
nothing, auto, sock, ssm as communication channels and had no
luck.</FONT></SPAN></DIV>
<DIV><SPAN class=EC_618441420-17082007></SPAN> </DIV>
<DIV><SPAN class=EC_618441420-17082007><FONT face=Arial>Thanks for your
help.<BR><BR>Richard<BR></FONT></SPAN></DIV></FONT></DIV><BR>
<HR>
Discover the new Windows Vista <A
href="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE"
target=_new>Learn more!</A> </BODY></HTML>