[mpich-discuss] Getting started in Win XP

Charles Lawson chucksolve at gmail.com
Thu Apr 22 18:30:47 CDT 2010


Jayesh (MPICH-discuss)

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.

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.
Regards,
-- Chuck
======
On Thu, Apr 22, 2010 at 12:44 PM, <jayesh at mcs.anl.gov> wrote:

> Hi,
>  Great! Please refer to the windows developer's guide (
> http://www.mcs.anl.gov/research/projects/mpich2/documentation/files/mpich2-1.2.1-windevguide.pdf)
> in Section "Runtime Environment" --> "Firewalls" for information on how to
> use MPICH2 with firewalls.
>  Let us know if you need any help.
>
> Regards,
> Jayesh
> ----- Original Message -----
> From: "Charles Lawson" <chucksolve at gmail.com>
>  To: mpich-discuss at mcs.anl.gov
> Cc: "Richard Hanson" <Richard.koolhans at gmail.com>, "Bruce Evans" <
> EvansBW at gmail.com>
> Sent: Thursday, April 22, 2010 11:20:45 AM GMT -06:00 US/Canada Central
> Subject: Re: [mpich-discuss] Getting started in Win XP
>
>
>
>
> To: Jayesh (mpich-discuss)
>
> 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.
>
> Thanks much for getting me to this point.
>
> 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?
>
> -- Chuck
> ======
>
> On Thu, Apr 22, 2010 at 8:01 AM, < jayesh at mcs.anl.gov > wrote:
>
>
> Hi,
>
> # Do the two machines have the same architecture (are they both 32-bit
> machines) ?
>
> # Does "mpiexec -hosts 2 Issac 1 Gauss 1 hostname" work (It should just
> print the hostnames of the two machines)?
>
> # Does "mpiexec -n 2 fpi.exe" work on both machines ?
>
> # Do you have any firewall running on the machines ? If so, please try
> again after turning off the firewall.
>
> # 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.
>
> Let us know the results.
>
> Regards,
> Jayesh
>
> ----- Original Message -----
> From: "Charles Lawson" < chucksolve at gmail.com >
> To: "MPICH Discussion" < Mpich-discuss at mcs.anl.gov >
> Cc: EvansBW at gmail.com
>
>
>
> Sent: Wednesday, April 21, 2010 9:26:51 PM GMT -06:00 US/Canada Central
> Subject: [mpich-discuss] Getting started in Win XP
>
>
>
> 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.
>
> 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:
>
> mpiexec -hosts 1 Issac 1 fpi.exe
>
> 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.
>
> Moving on to try running this on my two PC's, I tried the command line:
>
> mpiexec -hosts 2 Issac 1 Gauss 1 fpi.exe
>
> I had Gauss running with a User Name that has a password (which may or may
> not have any bearing on the situation.)
>
> This failed with the message:
>
> launch failed: CreateProcess(fpi.exe) on 'Gauss' failed, error 2 - The
> system cannot find the file specified.
>
> Then I tried giving fpi.exe a full path. I used:
>
> mpiexec -hosts 2 Issac 1 Gauss 1 \\Issac\mpi\fpi.exe
>
> That got further, but still not a complete execution. This responded with:
> Process 0 of 2 is alive
> Enter the number of intervals: (0 quits)
> Process 1 of 2 is alive
>
> I entered 50, but there was no response. I entered 0 and still no response,
> so I killed the run.
>
> 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:
>
> Process 0 of 2 is alive
> Enter the number of intervals: (0 quits)
> Process 1 of 2 is alive
> Proc 1 before call MPI_BCAST <= My debug write.
> 50 <= My entry from the keyboard.
> Proc 0 before call MPI_BCAST <= My debug write.
>
> and then just hung at that stage.
>
> 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?
>
> 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.
>
> Hoping for help,
>
> Chuck
> =====
>
>
>
>
>
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100422/b73c67e6/attachment-0001.htm>


More information about the mpich-discuss mailing list