[mpich-discuss] example run error

Sunil Thomas sgthomas27 at gmail.com
Sat Apr 30 00:41:05 CDT 2011


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/90ab85ce/attachment.htm>


More information about the mpich-discuss mailing list