<div>Jayesh (MPICH-discuss)</div>
<div> </div>
<div>OK, I read the section on Firewalls. Looks like having some ports as exceptions would be the most convenient, but I don't know what are sensible numbers for ports or how many ports it would make sense to list as exceptions.</div>
<div> </div>
<div>So, I took the program name route. I'm pretty sure I overdid it, but I did achieve success. I have copies of mpiexec.exe, smpd.exe and fpi.exe on both of my PC's (Issac & Gauss). In fact, I happen to have two copies of fpi.exe on Gauss. My first shot was to list all of these as Firewall exceptions on the PC they resided on. That didn't work. Since I am running with Issac as the host, I guessed that the copy of fpi.exe on Issac is getting shipped to Gauss so I should list fpi.exe with its path on Issac as a Firewall exception on Gauss. That worked. <br>
</div>
<div>Regards,</div>
<div>-- Chuck</div>
<div>======<br></div>
<div class="gmail_quote">On Thu, Apr 22, 2010 at 12:44 PM, <span dir="ltr"><<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br> Great! Please refer to the windows developer's guide (<a href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/files/mpich2-1.2.1-windevguide.pdf" target="_blank">http://www.mcs.anl.gov/research/projects/mpich2/documentation/files/mpich2-1.2.1-windevguide.pdf</a>) in Section "Runtime Environment" --> "Firewalls" for information on how to use MPICH2 with firewalls.<br>
Let us know if you need any help.<br>
<div class="im"><br>Regards,<br>Jayesh<br>----- Original Message -----<br>From: "Charles Lawson" <<a href="mailto:chucksolve@gmail.com">chucksolve@gmail.com</a>><br></div>
<div>
<div></div>
<div class="h5">To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Cc: "Richard Hanson" <<a href="mailto:Richard.koolhans@gmail.com">Richard.koolhans@gmail.com</a>>, "Bruce Evans" <<a href="mailto:EvansBW@gmail.com">EvansBW@gmail.com</a>><br>
Sent: Thursday, April 22, 2010 11:20:45 AM GMT -06:00 US/Canada Central<br>Subject: Re: [mpich-discuss] Getting started in Win XP<br><br><br><br><br>To: Jayesh (mpich-discuss)<br><br>My two PC's are both 32 bit. I found that the firewall was ON on both PC's. I turned the firewall OFF on both PC's and the run worked just fine. I did not need to use IP numbers.<br>
<br>Thanks much for getting me to this point.<br><br>Is there a setting of the firewalls I can make that is not as drastic as turning them off completely? Is there a program name or port I can list as an "exception" in the firewall control window?<br>
<br>-- Chuck<br>======<br><br>On Thu, Apr 22, 2010 at 8:01 AM, < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> > wrote:<br><br><br>Hi,<br><br># Do the two machines have the same architecture (are they both 32-bit machines) ?<br>
<br># Does "mpiexec -hosts 2 Issac 1 Gauss 1 hostname" work (It should just print the hostnames of the two machines)?<br><br># Does "mpiexec -n 2 fpi.exe" work on both machines ?<br><br># Do you have any firewall running on the machines ? If so, please try again after turning off the firewall.<br>
<br># Also try specifying the ipaddresses of the machines instead of hostnames (mpiexec -hosts 2 IPADDRESS_OF_ISSAC 1 IPADDRESS_OF_GAUSS 1 fpi.exe). You can get the ipaddress by typing "ipconfig" at the command prompt.<br>
<br>Let us know the results.<br><br>Regards,<br>Jayesh<br><br>----- Original Message -----<br>From: "Charles Lawson" < <a href="mailto:chucksolve@gmail.com">chucksolve@gmail.com</a> ><br>To: "MPICH Discussion" < <a href="mailto:Mpich-discuss@mcs.anl.gov">Mpich-discuss@mcs.anl.gov</a> ><br>
Cc: <a href="mailto:EvansBW@gmail.com">EvansBW@gmail.com</a><br><br><br><br>Sent: Wednesday, April 21, 2010 9:26:51 PM GMT -06:00 US/Canada Central<br>Subject: [mpich-discuss] Getting started in Win XP<br><br><br><br>I downloaded MPICH2 for Windows in Nov, 2009. I installed in on two PC's that I call Issac and Gauss that have access to my home wireless network. The installation file is mpich2-1.2-win-ia32.msi. Issac uses XP-Pro and Gauss uses XP-Home.<br>
<br>I purchased the Intel Fortran compiler, Vers 11.1, in July, 2009, for use on Issac, and I regularly use it there. I compiled the test case, fpi.f, on Issac. I (eventually) got a successful execution on a single PC by using the statement:<br>
<br>mpiexec -hosts 1 Issac 1 fpi.exe<br><br>I issued this command in a directory that contained mpiexec.exe and fpi.exe. I am the only user of this PC, and I do not use a password -- maybe I should say I have a blank password. Anyway the above command line didn't work initially because it asked for a password, and I didn't have one. I then set up a second User Name and gave it a password. Working under that User Name I again issued the above command line and I gave it the password when it asked for it, and it worked!! I was happy.<br>
<br>Moving on to try running this on my two PC's, I tried the command line:<br><br>mpiexec -hosts 2 Issac 1 Gauss 1 fpi.exe<br><br>I had Gauss running with a User Name that has a password (which may or may not have any bearing on the situation.)<br>
<br>This failed with the message:<br><br>launch failed: CreateProcess(fpi.exe) on 'Gauss' failed, error 2 - The system cannot find the file specified.<br><br>Then I tried giving fpi.exe a full path. I used:<br><br>
mpiexec -hosts 2 Issac 1 Gauss 1 \\Issac\mpi\fpi.exe<br><br>That got further, but still not a complete execution. This responded with:<br>Process 0 of 2 is alive<br>Enter the number of intervals: (0 quits)<br>Process 1 of 2 is alive<br>
<br>I entered 50, but there was no response. I entered 0 and still no response, so I killed the run.<br><br>I added four Fortran write statements into the test case, fpi.f. Before and after the Call MPI_BCAST and before and after the Call MPI_REDUCE. Each write included the value of myid in the output. I recompiled that. I then tried the last command line above again. It responded with:<br>
<br>Process 0 of 2 is alive<br>Enter the number of intervals: (0 quits)<br>Process 1 of 2 is alive<br>Proc 1 before call MPI_BCAST <= My debug write.<br>50 <= My entry from the keyboard.<br>Proc 0 before call MPI_BCAST <= My debug write.<br>
<br>and then just hung at that stage.<br><br>I conclude that fpi.exe is executing on both PC's, and on both PC's it has successfully gotten through calls to MPI_INIT, MPI_COMM_RANK and MPI_COMM_SIZE. The "print ... alive" statement functioned correctly on both PC's. Execution continued correctly up to the Call to MPI_BCAST. There it died. Why?<br>
<br>I will greatly apprciate suggestions as to how to get this test case to run correctly. I am well acquainted with Fortran programming, but not well acquainted with lower level operating system or networking components.<br>
<br>Hoping for help,<br><br>Chuck<br>=====<br><br><br><br><br><br><br><br><br>_______________________________________________<br>mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>_______________________________________________<br>mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br><br>_______________________________________________<br>mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
_______________________________________________<br>mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div><br>