Very thanks to Mehdi and Reuti for your helps.
On Tue, Mar 11, 2014 at 3:46 PM, Mehdi Rahmani <mrahman...@gmail.com> wrote: > 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.khal...@gmail.com>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: >> #clie...@master.cluster.umz slots=4 >> khal...@client1.cluster.umz slots=4 max-slots=4 >> #khal...@client2.cluster.umz slots=4 max-slots=4 >> khal...@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[mpie...@master.cluster.umz] HYDU_sock_write >> (./utils/sock/sock.c:291): write error (Bad file descriptor) >> [mpie...@master.cluster.umz] HYD_pmcd_pmiserv_send_signal >> (./pm/pmiserv/pmiserv_cb.c:170): unable to write data to proxy >> [mpie...@master.cluster.umz] ui_cmd_cb (./pm/pmiserv/pmiserv_pmci.c:79): >> unable to send signal downstream >> [mpie...@master.cluster.umz] HYDT_dmxu_poll_wait_for_event >> (./tools/demux/demux_poll.c:77): callback returned error status >> [mpie...@master.cluster.umz] HYD_pmci_wait_for_completion >> (./pm/pmiserv/pmiserv_pmci.c:197): error waiting for event >> [mpie...@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.khal...@stu.umz.ac.ir >> >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > -- Khadije Khalili Ph.D Student of Solid-State Physics Department of Physics University of Mazandaran Babolsar, Iran kh.khal...@stu.umz.ac.ir