Hi!<br><br> Follow-up...not sure what I did that fixed this; but one of firewall settings and restarting the <br>MPICH2 process manager Windows service by supplying my (admin) password. In between <br>I tried also explicitly stating the hostname. But now it works even specifiying as "localhost:<n>" <br>
in the machine file.<br><br>Thanks,<br>--Sunil. <br><br><div class="gmail_quote">On Fri, Apr 29, 2011 at 10:41 PM, Sunil Thomas <span dir="ltr"><<a href="mailto:sgthomas27@gmail.com">sgthomas27@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi!<br><br> After configuring and installing under cygwin on Windows 7 (32 bit), I tested the example on <br>
localhost and I am getting the following error:<br><br><i style="color: rgb(255, 0, 0);"><font size="1">$ mpiexec -f machinefile -n 5 ./cpi<br>
[mpiexec@SGT-LENOVO-U330] HYDU_sock_is_local (/cygdrive/c/Users/sgthomas/devl/mpich2-1.3.2p1/src/pm/hydra/utils/sock/sock.c:483): unable to get host address (Operation not permitted)<br>[mpiexec@SGT-LENOVO-U330] main (/cygdrive/c/Users/sgthomas/devl/mpich2-1.3.2p1/src/pm/hydra/ui/mpich/mpiexec.c:343): unable to check if locahost is local</font></i><br>
<br> My machinefile only has the one line - localhost:16 Any ideas how to resolve this error? <br><br> Also somewhat unrelated, I noted that after install, the libraries do not have libmpi.a (which is available <br>
when installing from the pre-compiled binaries on Windows). Instead we have libmpich.a, libfmpich.a and <br>
so on.. A 3rd party application needs to link to libmpi.a (but I built from scratch), hence I ask.<br><br>Thanks again,<br>--Sunil. <br>between <br>
</blockquote></div><br>