Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] ssh error
From: Mehdi Rahmani (mrahmani56_at_[hidden])
Date: 2014-03-11 08:16:42


Hi
use --hostfile or --machinefile in your command
mpirun *--hostfile* texthost -np 2 /home/client3/espresso-5.0.2/bin/pw.x
-in AdnAu.rx.in | tee AdnAu.rx.out

On Tue, Mar 11, 2014 at 1:35 PM, raha khalili <khadije.khalili_at_[hidden]>wrote:

> Dear users
>
> I want to run a quantum espresso program (with passwordless ssh). I
> prepared a hostfile named 'texthost' at my input directory. I get this
> error when I run the program:
>
> texthost:
> # This is a hostfile.
> # I have 4 syetems are paralleled by mpich2
> # The following nodes are that machines I want to use:
> #client3_at_master.cluster.umz slots=4
> khalili_at_client1.cluster.umz slots=4 max-slots=4
> #khalili_at_client2.cluster.umz slots=4 max-slots=4
> khalili_at_client3.cluster.umz slots=8 max-slots=8
>
> command:
> mpirun --host texthost -np 2 /home/client3/espresso-5.0.2/bin/pw.x -in
> AdnAu.rx.in | tee AdnAu.rx.out
>
> error:
> ssh: Could not resolve hostname texthost: Name or service not known
>
> after press ctrl+c:
> ^C[mpiexec_at_master.cluster.umz] HYDU_sock_write (./utils/sock/sock.c:291):
> write error (Bad file descriptor)
> [mpiexec_at_master.cluster.umz] HYD_pmcd_pmiserv_send_signal
> (./pm/pmiserv/pmiserv_cb.c:170): unable to write data to proxy
> [mpiexec_at_master.cluster.umz] ui_cmd_cb (./pm/pmiserv/pmiserv_pmci.c:79):
> unable to send signal downstream
> [mpiexec_at_master.cluster.umz] HYDT_dmxu_poll_wait_for_event
> (./tools/demux/demux_poll.c:77): callback returned error status
> [mpiexec_at_master.cluster.umz] HYD_pmci_wait_for_completion
> (./pm/pmiserv/pmiserv_pmci.c:197): error waiting for event
> [mpiexec_at_master.cluster.umz] main (./ui/mpich/mpiexec.c:331): process
> manager error waiting for completion
>
> Could you help me please?
> Thank you very much
> --
> Khadije Khalili
> Ph.D Student of Solid-State Physics
> Department of Physics
> University of Mazandaran
> Babolsar, Iran
> kh.khalili_at_[hidden]
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>