<div dir="ltr"><font color="#3366ff"><font><font face="trebuchet ms,sans-serif">Hello,</font></font></font><div><font color="#3366ff"><font><font face="trebuchet ms,sans-serif"><br></font></font></font></div><div>
<font color="#3366ff" face="'trebuchet ms', sans-serif">I recently configured Visual Studio 2010 on Win 7 Pro 64-bit for compiling MPI programs. The latest release of MPICH2 for Windows EM64T/AMD64 is installed on the system.</font></div>
<div><font color="#3366ff" face="'trebuchet ms', sans-serif"><br></font></div><div><font color="#3366ff" face="'trebuchet ms', sans-serif">I am able to compile in Visual Studio. However, when I use "mpiexec -n 2 helloWorld.exe" on the command prompt, it gives an error (snapshot attached). The error reads:</font></div>
<div><font color="#3366ff" face="'trebuchet ms', sans-serif">"</font><span style="font-family:'trebuchet ms',sans-serif">Error while connection to host, No connection could be made because the target machine actively refused it. (10061)</span></div>
<div><font face="'trebuchet ms', sans-serif">Connect on sock (host=Dream, port=8676) failed, exhaused all end points</font></div><div><font face="'trebuchet ms', sans-serif">Unable to connect to 'Dream:8676',</font></div>
<div><font face="'trebuchet ms', sans-serif">sock error: Error = -1</font><span style="color:rgb(51,102,255);font-family:'trebuchet ms',sans-serif">"</span></div>
<div><span style="color:rgb(51,102,255);font-family:'trebuchet ms',sans-serif"><br>
</span></div><div><span style="color:rgb(51,102,255);font-family:'trebuchet ms',sans-serif">Thanks for your help.</span></div><div><font color="#3366ff" face="'trebuchet ms', sans-serif"><br></font></div>
<div>
<font color="#3366ff" face="'trebuchet ms', sans-serif">Regards,</font></div><div><font color="#3366ff" face="'trebuchet ms', sans-serif">Rohan</font></div><div><font color="#3366ff" face="'trebuchet ms', sans-serif"><br>
</font></div><div><div dir="ltr"><span style="font-family:'trebuchet ms',sans-serif;border-collapse:collapse;color:rgb(51,102,255)">--</span><div style="color:rgb(136,136,136)"><div><font color="#3366ff" face="'trebuchet ms', sans-serif">Sent from Cyclotron Rd., Berkeley, California, United States of America</font></div>
</div></div></div>
</div>