[MPICH] MPI_Bcast hangs in Windows XP

Jayesh Krishna jayesh at mcs.anl.gov
Thu Sep 6 09:25:36 CDT 2007


Hi,
 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.
 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
http://www-unix.mcs.anl.gov/mpi/mpich/ for details.)
 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.
 
(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.)
 
Regards,
Jayesh

  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Richard Li
Sent: Wednesday, September 05, 2007 8:21 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] MPI_Bcast hangs in Windows XP


Hi there,
 
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 . 
 
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. I am using
mpich2-1.0.5p2-win32-ia32.msi.
 
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.
 
Thanks for your help.

Richard


  _____  

Discover the new Windows Vista Learn more!
<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070906/02952488/attachment.htm>


More information about the mpich-discuss mailing list