<br><font size=2 face="sans-serif">I'm trying to compile the MPICH2 code
package for Windows, following your "windevguide", with the hopes
of tracing through the MPI code and finding where and why MPI_Bcast is
failing. When I try to run "./maint/updatefies" from cygwin,
it tells me I need autoconf version 2.63 (exactly). Unfortunately,
it doesn't allow a newer version, and I'm running 2.65. How can I
downgrade to 2.63?</font>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">David</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>David_Lowinger@ea.epson.com</b>
</font>
<br><font size=1 face="sans-serif">Sent by: mpich-discuss-bounces@mcs.anl.gov</font>
<p><font size=1 face="sans-serif">07/05/2010 12:11 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
mpich-discuss@mcs.anl.gov</font></div></table>
<br><font size=1 face="sans-serif">Expire Date:</font><font size=2 face="sans-serif">
</font><font size=1 face="sans-serif">10/27/2010</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>
<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><font size=2 face="sans-serif"><br>
Hi Jayesh,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Yes, I can run a simple non-MPI program (ie. the program "hostname")
successfully with "</font><tt><font size=2>mpiexec -hosts 2 10.0.0.101
1 10.0.0.6 1 hostname</font></tt><font size=2 face="sans-serif">".
I see both hostnames get printed out, and then the program exits.
The ordering of hosts does not matter in this case.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
I see the exact same behavior as before when I provide the complete path
to the executable; ie. the MPI_Bcase never completes if I put 10.0.0.101
before 10.0.0.6.</font><font size=3> </font><font size=2 face="sans-serif"><br>
I see the exact same behavior as before when I use the machinefile option.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
With regards to checking the control panel, I assume you mean the "Processes"
tab of the Windows Task Manager? If so, which processes should I
be looking for as the program runs? I changed the MPI "hello
world" app to MPI_Bcast a very large buffer over and over, so that
I can look for some kind of process in the Windows Task Manager. What
is the name of the process I should be looking for? Thanks,</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
David</font><font size=3> <br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jayesh Krishna <jayesh@mcs.anl.gov></b>
</font>
<p><font size=1 face="sans-serif">07/01/2010 11:54 AM</font><font size=3>
</font><font size=1 face="sans-serif"><br>
Expire Date:</font><font size=2 face="sans-serif"> </font><font size=1 face="sans-serif">07/04/2012</font><font size=3>
</font>
<td width=59%>
<br>
<table width=100%>
<tr valign=top>
<td width=11%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=88%><font size=1 face="sans-serif">mpich-discuss@mcs.anl.gov</font><font size=3>
</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><font size=3>
</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>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br></table>
<br><font size=3><br>
<br>
</font><tt><font size=2><br>
Hi,<br>
Along with checking whether the processes are launched, please provide
us with the information below,<br>
<br>
# Are you able to run a simple non-MPI program (mpiexec -hosts 2 10.0.0.101
1 10.0.0.6 1 hostname)?<br>
# Try providing the complete path to the executable (mpiexec -hosts 2 10.0.0.101
1 10.0.0.6 1 c:\temp\helloworld.exe). Without the complete path you might
actually be executing two different MPI programs on the hosts.<br>
# Does the machinefile option work (mpiexec -n 2 -machinefile mf.txt c:\temp\helloworld.exe
; Where the file mf.txt contains the host ipaddresses)?<br>
<br>
Regards,<br>
Jayesh<br>
----- Original Message -----<br>
From: "David Lowinger" <David_Lowinger@ea.epson.com><br>
To: mpich-discuss@mcs.anl.gov<br>
Sent: Wednesday, June 30, 2010 4:26:16 PM GMT -06:00 US/Canada Central<br>
Subject: Re: [mpich-discuss] command line ordering of hosts matters?<br>
<br>
<br>
<br>
Hi Jayesh, <br>
On both machines, when I type, "smpd -version", both display
"1.2.1p1". <br>
When I call "MPI_Get_version()" on both machines, they both show
version 2, subversion 2. <br>
<br>
Both machines are running 64-bit Windows Vista. <br>
<br>
I'll check the control panel to see if the MPI processes are being launched.
<br>
<br>
David <br>
<br>
<br>
<br>
Jayesh Krishna
<jayesh@mcs.anl.gov> <br>
<br>
06/30/2010 04:53 PM <br>
Expire Date: 06/29/2012 <br>
<br>
To mpich-discuss@mcs.anl.gov
<br>
<br>
cc David_Lowinger@ea.epson.com
<br>
<br>
Subject Re:
[mpich-discuss] command line ordering of hosts matters? <br>
<br>
<br>
<br>
<br>
Hi, <br>
Which version of MPICH2 are you using ? <br>
Do the two machines have the same underlying architecture (MPICH2 currently
does not support heterogeneous systems - So you cannot run your job across
32-bit and 64-bit machines/MPICH2_libs)? <br>
Also try checking the control panel to see if the MPI processes are being
launched on the machines. <br>
<br>
Regards, <br>
Jayesh <br>
<br>
----- Original Message ----- <br>
From: "David Lowinger" <David_Lowinger@ea.epson.com> <br>
To: mpich-discuss@mcs.anl.gov <br>
Sent: Wednesday, June 30, 2010 3:42:22 PM GMT -06:00 US/Canada Central
<br>
Subject: Re: [mpich-discuss] command line ordering of hosts matters? <br>
<br>
<br>
<br>
Firewall is turned off on both machines. <br>
There is no error message... the MPI_Bcase simply never completes. I've
left it running for 10 minutes, and the second printf ("completed
MPI_Bcast") never appears when I use the second host ordering below
("10.0.0.101 1 10.0.0.6 1"). <br>
When I run "smpd -status 10.0.0.6" from 10.0.0.101, I see the
message "smpd running on 10.0.0.6". When I run "smpd -status
10.0.0.101" from 10.0.0.6, I see the message "smpd running on
10.0.0.101". <br>
<br>
<br>
<br>
jayesh@mcs.anl.gov <br>
<br>
06/30/2010 10:50 AM <br>
Expire Date: 06/29/2012 <br>
<br>
To mpich-discuss@mcs.anl.gov <br>
<br>
cc David_Lowinger@ea.epson.com <br>
<br>
Subject Re: [mpich-discuss] command line ordering of hosts matters? <br>
<br>
<br>
<br>
<br>
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 "smpd -status REMOTE_MACHINE" from each of
the machines and let us know the results ("smpd -status 10.0.0.6"
from 10.0.0.101 & "smpd -status 10.0.0.101" from 10.0.0.6)?
<br>
<br>
Regards, <br>
Jayesh <br>
----- Original Message ----- <br>
From: "David Lowinger" <David_Lowinger@ea.epson.com> <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 "hello world" 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 "MPI_Bcast()". Here
is my code: <br>
<br>
------------------- <br>
<br>
#include "mpi.h" <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(&argc, &argv); <br>
MPI_Comm_rank(MPI_COMM_WORLD, &g_Thread_ID); <br>
MPI_Comm_size(MPI_COMM_WORLD, &g_Num_Threads); <br>
<br>
printf("thread %d: main: About to execute MPI_Bcast\n", g_Thread_ID);
<br>
MPI_FLUSH(); <br>
<br>
// Broadcast integer <br>
int err = MPI_Bcast(&test, 1, MPI_INT, 0, MPI_COMM_WORLD); <br>
<br>
printf("thread %d: completed MPI_Bcast\n", 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>
<br>
<br>
_______________________________________________ <br>
mpich-discuss mailing list <br>
mpich-discuss@mcs.anl.gov <br>
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss <br>
<br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
mpich-discuss@mcs.anl.gov<br>
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</font></tt><font size=3><br>
</font><tt><font size=2>_______________________________________________<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>