Dear all

I am trying to run a program based on other posts in this topic. I run this
command as Mehdi said but I get an error:

[client3@master 92.12.23]$ mpirun --hostfile texthost -np 2
/home/client3/espresso-5.0.2/bin/pw.x -in AdnAu.rx.in | tee AdnAu.rx.out
[mpie...@master.cluster.umz] HYDU_process_mfile_token
(./utils/args/args.c:299): token slots not supported at this time
[mpie...@master.cluster.umz] HYDU_parse_hostfile (./utils/args/args.c:347):
unable to process token
[mpie...@master.cluster.umz] mfile_fn (./ui/mpich/utils.c:341): error
parsing hostfile
[mpie...@master.cluster.umz] match_arg (./utils/args/args.c:153): match
handler returned error
[mpie...@master.cluster.umz] HYDU_parse_array (./utils/args/args.c:175):
argument matching returned error
[mpie...@master.cluster.umz] parse_args (./ui/mpich/utils.c:1609): error
parsing input array
[mpie...@master.cluster.umz] HYD_uii_mpx_get_parameters
(./ui/mpich/utils.c:1660): unable to parse user arguments
[mpie...@master.cluster.umz] main (./ui/mpich/mpiexec.c:153): error parsing
parameters

hostfile:

# This is a hostfile.
#
# The following nodes are used for calculations
#
#master.cluster.umz slots=4 max-slots=2
khalili@192.168.196.2 slots=4 max-slots=4
khalili@192.168.196.3 slots=4 max-slots=4
#khal...@client3.cluster.umz slots=8

Any help is really appreciated.
Khadije Khalili


On Tue, Mar 11, 2014 at 9:01 PM, raha khalili <khadije.khal...@gmail.com>wrote:

> 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
>
>



-- 
Khadije Khalili
Ph.D Student of Solid-State Physics
Department of Physics
University of Mazandaran
Babolsar, Iran
kh.khal...@stu.umz.ac.ir

Reply via email to