Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] ssh error
From: raha khalili (khadije.khalili_at_[hidden])
Date: 2014-03-15 09:36:08


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_at_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
[mpiexec_at_master.cluster.umz] HYDU_process_mfile_token
(./utils/args/args.c:299): token slots not supported at this time
[mpiexec_at_master.cluster.umz] HYDU_parse_hostfile (./utils/args/args.c:347):
unable to process token
[mpiexec_at_master.cluster.umz] mfile_fn (./ui/mpich/utils.c:341): error
parsing hostfile
[mpiexec_at_master.cluster.umz] match_arg (./utils/args/args.c:153): match
handler returned error
[mpiexec_at_master.cluster.umz] HYDU_parse_array (./utils/args/args.c:175):
argument matching returned error
[mpiexec_at_master.cluster.umz] parse_args (./ui/mpich/utils.c:1609): error
parsing input array
[mpiexec_at_master.cluster.umz] HYD_uii_mpx_get_parameters
(./ui/mpich/utils.c:1660): unable to parse user arguments
[mpiexec_at_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_at_192.168.196.2 slots=4 max-slots=4
khalili_at_192.168.196.3 slots=4 max-slots=4
#khalili_at_client3.cluster.umz slots=8

Any help is really appreciated.
Khadije Khalili

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

> Very thanks to Mehdi and Reuti for your helps.
>
>
> On Tue, Mar 11, 2014 at 3:46 PM, Mehdi Rahmani <mrahmani56_at_[hidden]>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.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
>>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> 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.khalili_at_[hidden]
>
>

-- 
Khadije Khalili
Ph.D Student of Solid-State Physics
Department of Physics
University of Mazandaran
Babolsar, Iran
kh.khalili_at_[hidden]