[mpich-discuss] On gethostbyname() and related issues on Macs

Pavan Balaji balaji at mcs.anl.gov
Tue Mar 1 14:22:42 CST 2011


On 03/01/2011 05:35 AM, Nicolas Rosner wrote:
> Got hydra-r8081.tar.gz. Configured with --prefix=/mpi. Built fine.
> Installed on top of a full 1.3.3rc1 I had recently installed to that
> same pfx. Unsure how one keeps multiple builds of hydra linked to same
> install, nor did it seem obvious how to properly merge snapshot into
> full src release to rebuild, so clobbering via make install seemed
> safest bet. Is that OK?

Yes, that's fine. Hydra only provides "mpiexec" and some other helper 
executables. It does not provide the MPICH2 libraries themselves.

> fiona:mpi nrosner$ mpiexec -verbose -n 2 -hosts foobar ./a.out
> host: foobar
> [mpiexec at fiona.localdomain] HYDU_sock_is_local
> (./utils/sock/sock.c:517): unable to get host address for foobar (1)
> [mpiexec at fiona.localdomain] main (./ui/mpich/mpiexec.c:348): unable to
> check if foobar is local
>
>
> fiona:mpi nrosner$ mpiexec -verbose -n 2 -hosts foo,bar ./a.out
> host: foo
> host: bar
> [mpiexec at fiona.localdomain] HYDU_sock_is_local
> (./utils/sock/sock.c:517): unable to get host address for foo (1)
> [mpiexec at fiona.localdomain] main (./ui/mpich/mpiexec.c:348): unable to
> check if foo is local

Thanks. These error messages are obviously expected. Looks good from my end.

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list