<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<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>