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> </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> </DIV> |
---|
15 |
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN |
---|
16 |
class=640525617-04082008> 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> </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> </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 <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. Note also that \temp directory is a shared location. 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). </FONT></FONT></SPAN></DIV> |
---|
45 |
<DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial |
---|
46 |
color=#0000ff size=2></FONT></SPAN> </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: I did try: 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> </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> </DIV> |
---|
62 |
<DIV dir=ltr align=left><SPAN class=955053417-04082008><FONT face=Arial |
---|
63 |
color=#0000ff size=2> call MPI_INIT( ierr |
---|
64 |
)<BR> call MPI_COMM_RANK( MPI_COMM_WORLD, myid, |
---|
65 |
ierr )<BR> 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> </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> </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> </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) does hostB access data |
---|
88 |
(exe) 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> </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. This is a network |
---|
104 |
availabe UNC path - why do I need to map a drive? |
---|
105 |
</FONT></SPAN></DIV> |
---|
106 |
<DIV dir=ltr align=left><SPAN class=209305914-04082008><FONT face=Arial |
---|
107 |
color=#0000ff size=2></FONT></SPAN> </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> |
---|
119 |
<P><FONT size=2> Hi,<BR> 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> Also make sure that you have turned the windows firewall (or any |
---|
123 |
other firewalls) off on the machines involved in the job.<BR> Try |
---|
124 |
specifying the ip addresses of the machines instead of the hostnames.<BR> |
---|
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> Reporter: |
---|
134 |
"Ayer, Timothy C." <timothy.ayer@pw.utc.com> |
---|
135 |
| Type: bug <BR> |
---|
136 |
Status: |
---|
137 |
new |
---|
138 |
| Priority: major<BR>Component: |
---|
139 |
mpich2 |
---|
140 |
| <BR>-----------------------------------------------------------+------------<BR>-----------------------------------------------------------+----<BR><BR><BR> I |
---|
141 |
am testing MPICH2 MPICH2-1.0.7 Windows XP (sp2). I have installed it |
---|
142 |
on<BR> 2<BR> hosts (hostA, hostB) and trying to run the fpi.exe built |
---|
143 |
with fmpich2.lib.<BR> The code is hanging in a MPI_Bcast call. The |
---|
144 |
fpi.exe source is attached.<BR><BR> The following tests work fine from |
---|
145 |
hostA, both prompt for a number of intervals, accept input, and produce |
---|
146 |
and estimate of PI<BR><BR> mpiexec.exe -hosts 2 hostA hostA |
---|
147 |
\\hostA\temp\fpi.exe <\\hostA\temp\fpi.exe><BR><BR> mpiexec.exe |
---|
148 |
-hosts 2 hostB hostB \\hostA\temp\fpi.exe |
---|
149 |
<\\hostA\temp\fpi.exe><BR><BR><BR><BR> The following test hangs when |
---|
150 |
submitted from hostA (in MPI_Bcast). It does prompt for input |
---|
151 |
(number of intervals) but once entered it hangs. I have launched the |
---|
152 |
smpd process using smpd -d but see no output from the smpd after I enter |
---|
153 |
an interval value<BR><BR> mpiexec.exe -hosts 2 hostA hostB |
---|
154 |
\\hostA\temp\fpi.exe <\\hostA\temp\fpi.exe><BR><BR><BR> Any |
---|
155 |
suggestions would be appreciated. Also let me know if you want me |
---|
156 |
to<BR> send debug |
---|
157 |
output.<BR><BR> Thanks,<BR> Tim<BR><BR> _____________________<BR> Timothy |
---|
158 |
C. Ayer<BR> High Performance Technical Computing<BR> United |
---|
159 |
Technologies - Pratt & |
---|
160 |
Whitney<BR> timothy.ayer@pw.utc.com<BR> (860) 565 - 5268 |
---|
161 |
v<BR> (860) 565 - 2668 f<BR><BR> |
---|
162 |
<<fpi.f>><BR><BR><BR>--<BR>Ticket URL: <<A |
---|
163 |
href="https://trac.mcs.anl.gov/projects/mpich2/ticket/36">https://trac.mcs.anl.gov/projects/mpich2/ticket/36</A>><BR><BR></FONT></P></BODY></HTML> |
---|