[mpich-discuss] example run error

Sunil Thomas sgthomas27 at gmail.com
Sat Apr 30 01:34:21 CDT 2011


Hi!

    Follow-up...not sure what I did that fixed this; but one of firewall
settings and restarting the
MPICH2 process manager Windows service by supplying my (admin) password. In
between
I tried also explicitly stating the hostname. But now it works even
specifiying as "localhost:<n>"
in the machine file.

Thanks,
--Sunil.

On Fri, Apr 29, 2011 at 10:41 PM, Sunil Thomas <sgthomas27 at gmail.com> wrote:

> Hi!
>
>   After configuring and installing under cygwin on Windows 7 (32 bit), I
> tested the example on
> localhost and I am getting the following error:
>
> *$ mpiexec -f machinefile -n 5 ./cpi
> [mpiexec at 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)
> [mpiexec at 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*
>
>    My machinefile only has the one line - localhost:16 Any ideas how to
> resolve this error?
>
>     Also somewhat unrelated, I noted that after install, the libraries do
> not have libmpi.a (which is available
> when installing from the pre-compiled binaries on Windows). Instead we have
> libmpich.a, libfmpich.a and
> so on.. A 3rd party application needs to link to libmpi.a (but I built from
> scratch), hence I ask.
>
> Thanks again,
> --Sunil.
> between
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110429/4ec018c1/attachment.htm>


More information about the mpich-discuss mailing list