Ticket #36: part0001.2.html

File part0001.2.html, 10.6 kB (added by Jayesh Krishna, 8 months ago)

Added by email2trac

Line 
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML><HEAD><TITLE>RE: [mpich2-maint] #36: MPICH2 fpi.exe hanging on Windows XP</TITLE>
3 <META http-equiv=Content-Type content="text/html; charset=us-ascii">
4 <META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
5 <BODY>
6 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
7 class=640525617-04082008>You should try,</SPAN></FONT></DIV>
8 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
9 class=640525617-04082008></SPAN></FONT>&nbsp;</DIV>
10 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
11 class=640525617-04082008>mpiexec.exe -map y:\\hostA\temp -hosts 2 hostA hostB
12 y<A href="file://hosta/temp/fpi.exe">:\fpi.exe</A></SPAN></FONT></DIV>
13 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
14 class=640525617-04082008></SPAN></FONT>&nbsp;</DIV>
15 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
16 class=640525617-04082008>&nbsp;Let us know if it works for
17 you.</SPAN></FONT></DIV>
18 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
19 class=640525617-04082008></SPAN></FONT>&nbsp;</DIV>
20 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
21 class=640525617-04082008>(PS: The shared drive is accessible across machines
22 because the drive is accessible/mapped by the user logged on to the machines.
23 SMPD runs as a service logged on as "Local System" and does not - should not-
24 have access to drives shared by users)</SPAN></FONT></DIV>
25 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
26 class=640525617-04082008></SPAN></FONT>&nbsp;</DIV>
27 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
28 class=640525617-04082008>Regards,</SPAN></FONT></DIV>
29 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
30 class=640525617-04082008>Jayesh</SPAN></FONT></DIV><BR>
31 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
32 <HR tabIndex=-1>
33 <FONT face=Tahoma size=2><B>From:</B> Ayer, Timothy C.
34 [mailto:timothy.ayer@pw.utc.com] <BR><B>Sent:</B> Monday, August 04, 2008 12:50
35 PM<BR><B>To:</B> Jayesh Krishna<BR><B>Subject:</B> RE: [mpich2-maint] #36:
36 MPICH2 fpi.exe hanging on Windows XP<BR></FONT><BR></DIV>
37 <DIV></DIV>
38 <DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT size=2><FONT
39 face=Arial color=#0000ff>The exe can be directly accessed from hostB by
40 executing&nbsp; <A href="file://\\hostA\temp\fpi.exe">\\hostA\temp\fpi.exe</A>,
41 that is, you could type it directly into a command prompt from hostB if you
42 wanted.&nbsp; Note also that&nbsp; \temp directory is a shared location.&nbsp; I
43 am not sure physically how this is setup on our network but this has worked with
44 out any "mapping" for MPICH (MPICH1).&nbsp; </FONT></FONT></SPAN></DIV>
45 <DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial
46 color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
47 <DIV dir=ltr align=left><SPAN class=955053417-04082008>
48 <DIV><SPAN class=955053417-04082008><FONT face=Arial color=#0000ff
49 size=2>Note:&nbsp; I did try: &nbsp;mpiexec.exe -map y:\\hostA\temp -hosts 2
50 hostA hostB <A
51 href="file://\\hostA\temp\fpi.exe">\\hostA\temp\fpi.exe</A></FONT></SPAN><SPAN 
52 class=955053417-04082008><SPAN class=955053417-04082008><FONT face=Arial
53 color=#0000ff size=2> but that still hangs in the MPI_Bcast
54 call.</FONT></SPAN></DIV></SPAN></SPAN></DIV>
55 <DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial
56 color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
57 <DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial
58 color=#0000ff size=2>The interesting part is that it gets through the
59 initialization:</FONT></SPAN></DIV>
60 <DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial
61 color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
62 <DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial
63 color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call MPI_INIT( ierr
64 )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call MPI_COMM_RANK( MPI_COMM_WORLD, myid,
65 ierr )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call MPI_COMM_SIZE( MPI_COMM_WORLD,
66 numprocs, ierr )<BR></DIV>
67 <DIV></FONT></SPAN><SPAN class=955053417-04082008><FONT face=Arial color=#0000ff
68 size=2></FONT></SPAN>&nbsp;</DIV>
69 <DIV><SPAN class=955053417-04082008><FONT face=Arial color=#0000ff size=2>All
70 execute.</FONT></SPAN></DIV>
71 <DIV><SPAN class=955053417-04082008><FONT face=Arial color=#0000ff
72 size=2></FONT></SPAN>&nbsp;</DIV>
73 <DIV><SPAN class=955053417-04082008><FONT face=Arial color=#0000ff
74 size=2>Thanks,</FONT></SPAN></DIV>
75 <DIV><SPAN class=955053417-04082008><FONT face=Arial color=#0000ff
76 size=2>Tim</FONT></SPAN></DIV>
77 <DIV><SPAN class=955053417-04082008></SPAN><SPAN class=955053417-04082008><FONT
78 face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
79 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
80 <HR tabIndex=-1>
81 <FONT face=Tahoma size=2><B>From:</B> Jayesh Krishna [mailto:jayesh@mcs.anl.gov]
82 <BR><B>Sent:</B> Monday, August 04, 2008 1:33 PM<BR><B>To:</B> 'Ayer, Timothy
83 C.'<BR><B>Subject:</B> RE: [mpich2-maint] #36: MPICH2 fpi.exe hanging on Windows
84 XP<BR></FONT><BR></DIV>
85 <DIV></DIV>
86 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
87 class=327583117-04082008>How (what mechanism)&nbsp;does hostB access data
88 (exe)&nbsp;in hostA ?</SPAN></FONT></DIV>
89 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
90 class=327583117-04082008></SPAN></FONT>&nbsp;</DIV>
91 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
92 class=327583117-04082008>Regards,</SPAN></FONT></DIV>
93 <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
94 class=327583117-04082008>Jayesh</SPAN></FONT></DIV><BR>
95 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
96 <HR tabIndex=-1>
97 <FONT face=Tahoma size=2><B>From:</B> Ayer, Timothy C.
98 [mailto:timothy.ayer@pw.utc.com] <BR><B>Sent:</B> Monday, August 04, 2008 12:31
99 PM<BR><B>To:</B> Jayesh Krishna<BR><B>Subject:</B> RE: [mpich2-maint] #36:
100 MPICH2 fpi.exe hanging on Windows XP<BR></FONT><BR></DIV>
101 <DIV></DIV>
102 <DIV dir=ltr align=left><SPAN class=209305914-04082008><FONT face=Arial
103 color=#0000ff size=2>Thanks Jayesh for the quick reply.&nbsp; This is a network
104 availabe UNC path&nbsp; -&nbsp;why do I need to map a drive?&nbsp;
105 </FONT></SPAN></DIV>
106 <DIV dir=ltr align=left><SPAN class=209305914-04082008><FONT face=Arial
107 color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
108 <DIV dir=ltr align=left><SPAN class=209305914-04082008><FONT face=Arial
109 color=#0000ff size=2>I am familiar with the machines file - I was just using the
110 command line for debugging.</FONT></SPAN></DIV><BR>
111 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
112 <HR tabIndex=-1>
113 <FONT face=Tahoma size=2><B>From:</B> Jayesh Krishna [mailto:jayesh@mcs.anl.gov]
114 <BR><B>Sent:</B> Monday, August 04, 2008 10:56 AM<BR><B>To:</B>
115 timothy.ayer@pw.utc.com<BR><B>Cc:</B>
116 mpich2-maint@mcs.anl.gov<BR><B>Subject:</B> RE: [mpich2-maint] #36: MPICH2
117 fpi.exe hanging on Windows XP<BR></FONT><BR></DIV>
118 <DIV></DIV><!-- Converted from text/plain format -->
119 <P><FONT size=2>&nbsp;Hi,<BR>&nbsp; If you are running your executable from a
120 shared network drive you need to map (see "--map" option of mpiexec in the
121 window's developer's guide) the network drive with mpiexec when launching your
122 job.<BR>&nbsp; Also make sure that you have turned the windows firewall (or any
123 other firewalls) off on the machines involved in the job.<BR>&nbsp; Try
124 specifying the ip addresses of the machines instead of the hostnames.<BR>&nbsp;
125 Let us know the results.<BR><BR>(PS: Instead of the "-hosts" option you could
126 try using the "-machinefile" option available with mpiexec. See the window's
127 developer's guide for details.)<BR><BR>Regards,<BR>Jayesh<BR>-----Original
128 Message-----<BR>From: owner-mpich2-bugs@mcs.anl.gov [<A
129 href="mailto:owner-mpich2-bugs@mcs.anl.gov">mailto:owner-mpich2-bugs@mcs.anl.gov</A>]
130 On Behalf Of mpich2<BR>Sent: Monday, August 04, 2008 9:33 AM<BR>To:
131 undisclosed-recipients:<BR>Subject: [mpich2-maint] #36: MPICH2 fpi.exe hanging
132 on Windows
133 XP<BR><BR>-----------------------------------------------------------+------------<BR>-----------------------------------------------------------+----<BR>&nbsp;Reporter:&nbsp;
134 "Ayer, Timothy&nbsp; C." &lt;timothy.ayer@pw.utc.com&gt;&nbsp;
135 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type:&nbsp; bug&nbsp;<BR>&nbsp;&nbsp;
136 Status:&nbsp;
137 new&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
138 |&nbsp;&nbsp; Priority:&nbsp; major<BR>Component:&nbsp;
139 mpich2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
140 |&nbsp;<BR>-----------------------------------------------------------+------------<BR>-----------------------------------------------------------+----<BR><BR><BR>&nbsp;I
141 am testing MPICH2 MPICH2-1.0.7 Windows XP (sp2).&nbsp; I have installed it
142 on<BR>&nbsp;2<BR>&nbsp;hosts (hostA, hostB) and trying to run the fpi.exe built
143 with fmpich2.lib.<BR>&nbsp;The code is hanging in a MPI_Bcast call.&nbsp; The
144 fpi.exe source is attached.<BR><BR>&nbsp;The following tests work fine from
145 hostA, both prompt for a number of&nbsp; intervals, accept input, and produce
146 and estimate of PI<BR><BR>&nbsp;mpiexec.exe -hosts 2 hostA hostA
147 \\hostA\temp\fpi.exe&nbsp; &lt;\\hostA\temp\fpi.exe&gt;<BR><BR>&nbsp;mpiexec.exe
148 -hosts 2 hostB hostB \\hostA\temp\fpi.exe&nbsp;
149 &lt;\\hostA\temp\fpi.exe&gt;<BR><BR><BR><BR>&nbsp;The following test hangs when
150 submitted from hostA (in MPI_Bcast).&nbsp; It&nbsp; does&nbsp; prompt for input
151 (number of intervals) but once entered it hangs.&nbsp; I have&nbsp; launched the
152 smpd process using smpd -d but see no output from the smpd&nbsp; after I enter
153 an interval value<BR><BR>&nbsp;mpiexec.exe -hosts 2 hostA hostB
154 \\hostA\temp\fpi.exe&nbsp; &lt;\\hostA\temp\fpi.exe&gt;<BR><BR><BR>&nbsp;Any
155 suggestions would be appreciated.&nbsp;&nbsp; Also let me know if you want me
156 to<BR>&nbsp;send debug
157 output.<BR><BR>&nbsp;Thanks,<BR>&nbsp;Tim<BR><BR>&nbsp;_____________________<BR>&nbsp;Timothy
158 C. Ayer<BR>&nbsp;High Performance Technical Computing<BR>&nbsp;United
159 Technologies - Pratt &amp;
160 Whitney<BR>&nbsp;timothy.ayer@pw.utc.com<BR>&nbsp;(860) 565 - 5268
161 v<BR>&nbsp;(860) 565 - 2668 f<BR><BR>&nbsp;
162 &lt;&lt;fpi.f&gt;&gt;<BR><BR><BR>--<BR>Ticket URL: &lt;<A 
163 href="https://trac.mcs.anl.gov/projects/mpich2/ticket/36">https://trac.mcs.anl.gov/projects/mpich2/ticket/36</A>&gt;<BR><BR></FONT></P></BODY></HTML>