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

Nicolas Rosner nrosner at gmail.com
Tue Mar 1 05:35:25 CST 2011


> download the latest nightly snapshot and try out the following command

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?

See the results below.

Cheers,
Nicolás



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


fiona:mpi nrosner$ mpiexec -info
HYDRA build details:
    Version:                                 1.4a1
    Release Date:                            unreleased development copy
    CC:                              gcc  -D_DARWIN_C_SOURCE
    CXX:
    F77:
    F90:
    Configure options:                       '--prefix=/mpi'
    Process Manager:                         pmi
    Launchers available:                     ssh rsh fork slurm ll lsf
sge none persist
    Binding libraries available:             hwloc
    Resource management kernels available:   none slurm ll lsf sge pbs
    Checkpointing libraries available:
    Demux engines available:                 poll select


More information about the mpich-discuss mailing list