<br><font size=2 face="sans-serif">Firewall is turned off on both machines.</font>
<br><font size=2 face="sans-serif">There is no error message... the MPI_Bcase
simply never completes. &nbsp;I've left it running for 10 minutes, and
the second printf (&quot;completed MPI_Bcast&quot;) never appears when
I use the second host ordering below (&quot;10.0.0.101 1 10.0.0.6 1&quot;).</font>
<br><font size=2 face="sans-serif">When I run &quot;smpd -status 10.0.0.6&quot;
from 10.0.0.101, I see the message &quot;smpd running on 10.0.0.6&quot;.
&nbsp;When I run &quot;smpd -status 10.0.0.101&quot; from 10.0.0.6, I see
the message &quot;smpd running on 10.0.0.101&quot;.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>jayesh@mcs.anl.gov</b>
</font>
<p><font size=1 face="sans-serif">06/30/2010 10:50 AM</font>
<br><font size=1 face="sans-serif">Expire Date:</font><font size=2 face="sans-serif">
</font><font size=1 face="sans-serif">06/29/2012</font>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">mpich-discuss@mcs.anl.gov</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">David_Lowinger@ea.epson.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [mpich-discuss] command line ordering
of hosts matters?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
 Do you have a firewall running on any of these machines (If so, can you
try running your job after turning off the firewall)?<br>
 What is the error message that you get when you run your job ?<br>
 Can you try running &quot;smpd -status REMOTE_MACHINE&quot; from each
of the machines and let us know the results (&quot;smpd -status 10.0.0.6&quot;
from 10.0.0.101 &amp; &quot;smpd -status 10.0.0.101&quot; from 10.0.0.6)?<br>
<br>
Regards,<br>
Jayesh<br>
----- Original Message -----<br>
From: &quot;David Lowinger&quot; &lt;David_Lowinger@ea.epson.com&gt;<br>
To: mpich-discuss@mcs.anl.gov<br>
Sent: Tuesday, June 29, 2010 5:53:07 PM GMT -06:00 US/Canada Central<br>
Subject: [mpich-discuss] command line ordering of hosts matters?<br>
<br>
<br>
<br>
Hi, <br>
When running a very basic &quot;hello world&quot; app, I've found that
the app's behavior depends on the order I use for hosts in the command
line. For example, if I use: <br>
<br>
mpiexec -hosts 2 10.0.0.6 1 10.0.0.101 1 helloworld.exe <br>
<br>
The program executes flawlessly. But, if I use: <br>
<br>
mpiexec -hosts 2 10.0.0.101 1 10.0.0.6 1 helloworld.exe <br>
<br>
then the program never gets past the call to &quot;MPI_Bcast()&quot;. Here
is my code: <br>
<br>
------------------- <br>
<br>
#include &quot;mpi.h&quot; <br>
<br>
#define MPI_FLUSH() fflush(stdout) <br>
<br>
int main( int argc, char* argv[] ) <br>
{ <br>
int g_Thread_ID, g_Num_Threads; <br>
int test = 0; <br>
<br>
/**************************************************\ <br>
* MPI Initialization * <br>
\**************************************************/ <br>
MPI_Init(&amp;argc, &amp;argv); <br>
MPI_Comm_rank(MPI_COMM_WORLD, &amp;g_Thread_ID); <br>
MPI_Comm_size(MPI_COMM_WORLD, &amp;g_Num_Threads); <br>
<br>
printf(&quot;thread %d: main: About to execute MPI_Bcast\n&quot;, g_Thread_ID);
<br>
MPI_FLUSH(); <br>
<br>
// Broadcast integer <br>
int err = MPI_Bcast(&amp;test, 1, MPI_INT, 0, MPI_COMM_WORLD); <br>
<br>
printf(&quot;thread %d: completed MPI_Bcast\n&quot;, g_Thread_ID); <br>
MPI_FLUSH(); <br>
<br>
MPI_Finalize(); <br>
} <br>
<br>
------------------ <br>
<br>
I am running Windows Vista on both machines. Has anyone seen this before?
Thanks, <br>
David <br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
mpich-discuss@mcs.anl.gov<br>
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br>
</font></tt>
<br>