<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>

<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=910223219-02122008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=910223219-02122008>&nbsp;You could try installing MPICH2 on windows (from 
the installer available at <A 
href="http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads">http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads</A>) 
and compile your code and link with the gcc libs (*.a) provided with the 
installation (MPICH2\lib directory).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=910223219-02122008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=910223219-02122008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=910223219-02122008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov 
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>ting 
lei<BR><B>Sent:</B> Tuesday, December 02, 2008 1:31 PM<BR><B>To:</B> 
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] (no 
subject)<BR></FONT><BR></DIV>
<DIV></DIV><PRE>Hi,<BR><BR>This might be a newbie question.<BR>I see in this thread that people can compile MPICH2 with MingW. I tried that with MingW (gcc 4.3 and 3.4x) several times but <BR>I was never able to get past the ./configure step. <BR><I>"I have compiled a C executable using the MPICH2 Windows libraries and </I><I>MinGW.</I>"<BR>Could someone please give me some pointers how to compile such an executable?<BR>More specifically, do I have to compile MPICH2 itself from source using MinGW then use some program such as mpicc?? <BR>or should I just compile a regular c program and run it with mpiexec.exe ?<BR>If I were to compile MPICH2 itself with MingW, what other packages do I need except the latest version of MingW?<BR><BR><BR>Many thanks for your help<BR><BR>Ting<BR><BR><BR>--Original Message----<BR>Hi,<BR>  This is a bug in the current state machine of SMPD. This should not<BR>affect the execution of your MPI program (This error occurs when the<BR>process manager tries to cleanup connections after the MPI program<BR>finishes execution).<BR><BR>(PS: You can go ahead with your program development and ignore the<BR>closesocket() errors for now. We will fix this bug soon.)<BR>Regards,<BR>Jayesh<BR><BR>-----Original Message-----<BR>From: <A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">mpich-discuss-bounces at mcs.anl.gov</A><BR>[mailto:<A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">mpich-discuss-bounces at mcs.anl.gov</A>] On Behalf Of Dmitri Chubarov<BR>Sent: Tuesday, November 11, 2008 1:23 AM<BR>To: <A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">someindianbloke at gmail.com</A><BR>Cc: <A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">mpich-discuss at mcs.anl.gov</A><BR>Subject: Re: [mpich-discuss] closesocket failed error when running an<BR>MinGWcompiled executable.<BR><BR>Hi,<BR><BR>Error 10093 is a winsock error code for "Successful WSAStartup not yet<BR>performed". Do check if you get the same error on other machines to rule<BR>out network misconfiguration in your Windows installation.<BR><BR>On Tue, Nov 11, 2008 at 7:02 AM, Chiraj &lt;<A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">someindianbloke at gmail.com</A>&gt; wrote:<BR>&gt;<I> Hi,<BR></I>&gt;<I><BR></I>&gt;<I> I have compiled a C executable using the MPICH2 Windows libraries and <BR></I>&gt;<I> MinGW. I have tried running the executable using "mpiexec -localroot <BR></I>&gt;<I> -localonly 2 main.exe 0.xml", but I get the following error:<BR></I>&gt;<I><BR></I>&gt;<I> closesocket failed, sock 1284, error 10093<BR></I>&gt;<I><BR></I>&gt;<I> Could some please tell me what this means I am doing wrong? I have <BR></I>&gt;<I> tried searching everywhere on what this error means. I have registered <BR></I>&gt;<I> my user credentials using wmpiregister and checked if I have started <BR></I>&gt;<I> smpd as a windows service. I am running Windows Xp Professional SP3 on <BR></I>&gt;<I> an Intel Pentium 4 base system.<BR></I>&gt;<I><BR></I>&gt;<I> Chiraj<BR></I>&gt;<I><BR></I></PRE><BR>
<HR>
You live life online. So we put Windows on the web. <A 
href="http://clk.atdmt.com/MRT/go/127032869/direct/01/" target=_new>Learn more 
about Windows Live </A></BODY></HTML>