[mpich-discuss] mpiexec - specifying list of hosts in command line without file

Yauheni Zelenko zelenko at cadence.com
Thu Jun 17 19:50:10 CDT 2010


Great!

Thank you for help, Pavan!

It's also may be useful to specify number of instances, like in host file (i.e. host:number).

Eugene.
________________________________________
From: mpich-discuss-bounces at mcs.anl.gov [mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji [balaji at mcs.anl.gov]
Sent: Thursday, June 17, 2010 5:32 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] mpiexec - specifying list of hosts in      command line without file

Never mind the ticket -- it was simple enough that I went ahead and
added it to trunk in r6812 (usage is "-hosts foo,bar"). You can download
a nightly tarball if you want to try it out (make sure to use >= r6812):
http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/hydra

  -- Pavan

On 06/17/2010 07:21 PM, Yauheni Zelenko wrote:
> Hi!
>
> I think will be great if somebody else will add new ticket.
>
> Error message I got:
>
>  Trac detected an internal error:
>
> OperationalError: near "s": syntax error
>
> Eugene.
> ________________________________________
> From: mpich-discuss-bounces at mcs.anl.gov [mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji [balaji at mcs.anl.gov]
> Sent: Thursday, June 17, 2010 4:58 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] mpiexec - specifying list of hosts in      command line without file
>
> Hi,
>
> Yes, that's a good idea. What error did you have when you were filing a
> bug report? It'll be good to get this into the system, so we don't lose
> track of it.
>
>   -- Pavan
>
> On 06/17/2010 06:44 PM, Yauheni Zelenko wrote:
>> Hi!
>>
>> Just grep Hydra source code (1.3a) and it doen't have such command line parameter (only -f) and didn't list it in common command line parameters in usage.
>>
>> Eugene.
>> ________________________________________
>> From: mpich-discuss-bounces at mcs.anl.gov [mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Reuti [reuti at staff.uni-marburg.de]
>> Sent: Thursday, June 17, 2010 4:38 PM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: Re: [mpich-discuss] mpiexec - specifying list of hosts in command      line without file
>>
>> Hi,
>>
>> Am 18.06.2010 um 00:10 schrieb Yauheni Zelenko:
>>
>>> I think will be good idea to introduce command line parameter for
>>> mpiexec for specifying list of hosts directly in command line.
>>>
>>> It's handy for quick experiments. Also will be useful in farm
>>> environment (like Platform LSF) where host are listed in environment
>>> variable.
>> AFAICS there exists alread the option -host to mpiexec (man mpiexec).
>> It will just need some preprocessing to convert an environment
>> variable in the proper format:
>>
>> http://rc.partners.org/node/232
>>
>> -- Reuti
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list