<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: PMingLiU;
}
@font-face {
        font-family: Trebuchet MS;
}
@font-face {
        font-family: @PMingLiU;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
H2 {
        FONT-SIZE: 10pt; MARGIN: 12pt 0in 3pt 0.4in; TEXT-INDENT: -0.4in; FONT-STYLE: italic; FONT-FAMILY: Arial; mso-list: l0 level2 lfo3
}
H3 {
        FONT-SIZE: 13pt; MARGIN: 12pt 0in 3pt 0.5in; TEXT-INDENT: -0.5in; FONT-FAMILY: Arial; mso-list: l0 level3 lfo3
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle19 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0in
}
UL {
        MARGIN-BOTTOM: 0in
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=#606420 link=blue>
<DIV dir=ltr align=left><SPAN class=969163019-29032006><FONT face=Arial
color=#0000ff size=2>To use threads on Windows, you need to select the
multithreaded socket channel as described
here:<!--StartFragment --></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=969163019-29032006><FONT face=Arial
color=#0000ff size=2><A
href="http://www-unix.mcs.anl.gov/web-mail-archive/lists/mpich-discuss/2006/01/msg00064.html">http://www-unix.mcs.anl.gov/web-mail-archive/lists/mpich-discuss/2006/01/msg00064.html</A></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=969163019-29032006><FONT face=Arial color=#0000ff
size=2>Rajeev</FONT></SPAN></DIV>
<DIV><SPAN class=969163019-29032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=969163019-29032006><FONT face=Arial color=#0000ff size=2>PS: If
MPI_Init_thread returns MPI_THREAD_SINGLE, it is not safe to run as if it is
thread_multiple.</FONT></SPAN></DIV>
<DIV><SPAN class=969163019-29032006> </SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Yoder, Jeffrey -
SSD<BR><B>Sent:</B> Wednesday, March 29, 2006 12:45 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] Multithreading on
Windows<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">We are using
MPI_THREAD_MULTIPLE on Windows and seem to be having some success but also
some troubles which we are thinking might be related to the threading on
Windows.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">I know
MPI_THREAD_MULTIPLE is only a request and, in fact, MPI_Init_thread always
returns MPI_THREAD_SINGLE. But we seem to be able to operate
multi-threaded in some instances.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Does this
make sense? Why would it work sometimes and not others? Should we
dump the Windows platform altogether?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><EM><I><FONT face="Times New Roman" size=4><SPAN
style="FONT-SIZE: 13.5pt">Jeff Yoder</SPAN></FONT></I></EM><I><SPAN
style="FONT-STYLE: italic"><BR></SPAN></I><EM><I><FONT
face="Trebuchet MS"><SPAN style="FONT-FAMILY: 'Trebuchet MS'">ITT Industries
Space Systems LLC</SPAN></FONT></I></EM><I><FONT size=2><SPAN
style="FONT-SIZE: 10pt; FONT-STYLE: italic"><BR></SPAN></FONT></I><EM><I><FONT
face="Trebuchet MS"><SPAN style="FONT-FAMILY: 'Trebuchet MS'">Software
</SPAN></FONT></I></EM><I><FONT face="Trebuchet MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: 'Trebuchet MS'">Engineering</SPAN></FONT></I><I><FONT
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-STYLE: italic"><BR></SPAN></FONT></I><EM><I><FONT
face="Trebuchet MS"><SPAN
style="FONT-FAMILY: 'Trebuchet MS'">(260)451-6508</SPAN></FONT><o:p></o:p></I></EM></P>
<P class=MsoNormal><EM><I><U><FONT face="Times New Roman" color=blue
size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: blue"><A
href="mailto:jeffrey.yoder@itt.com"><SPAN
style="FONT-STYLE: normal">jeffrey.yoder@itt.com</SPAN></A></SPAN></FONT></U></I></EM><SPAN
class=MsoHyperlink><U><FONT color=blue><o:p></o:p></FONT></U></SPAN></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> </SPAN></FONT><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><EM><I><FONT face=PMingLiU size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: PMingLiU">The most likely way for the
world to be destroyed, most experts agree,</SPAN></FONT></I></EM><FONT
face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><EM><I><FONT face=PMingLiU size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: PMingLiU">is by accident. That's where we
come in; we're computer professionals.</SPAN></FONT></I></EM><FONT face=Arial
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><EM><I><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">We cause accidents. - Nathaniel
Borenstein</SPAN></FONT></I></EM><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG id=_x0000_i1025
style="WIDTH: 44px; HEIGHT: 63px" height=120 src="cid:969163019@29032006-2EB0"
width=92 align=baseline border=0></SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV><PRE>************************************
This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Industries, Inc. The recipient should check this e-mail and any attachments for the presence of viruses. ITT Industries accepts no liability for any damage caused by any virus transmitted by this e-mail.
************************************
</PRE></BLOCKQUOTE></BODY></HTML>