[mpich-discuss] Launching MPMD jobs using mpiexec with hydra

Reuti reuti at staff.uni-marburg.de
Fri Feb 12 11:23:56 CST 2010


Hi,

Am 12.02.2010 um 18:10 schrieb Pavan Balaji:

>
> Hmm.. That's a good point. Unfortunately, config file support is not
> available right now. I'll work on adding it for the next release.
>
>  -- Pavan
>
> On 02/12/2010 10:12 AM, Sindhi, Waris PW wrote:
>> Pavan,
>>        Thanks for the response. The problem with listing  
>> executables on
>> the mpiexec command line is that I have each slave using a slightly
>> different executable and the command line gets to long to manage.

if you put it in a script or a wrapper, it should be possible to put  
each node in one line and use the \ as last character in a line to  
continue on the next one. It will be treated as being one line by the  
shell.

-- Reuti


>> Is there a way to list each executable that goes with each slave in a
>> file and pass that to mpiexec with hydra ?
>>
>> Sincerely,
>> Waris
>>
>> -----Original Message-----
>> From: mpich-discuss-bounces at mcs.anl.gov
>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji
>> Sent: Friday, February 12, 2010 11:09 AM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: Re: [mpich-discuss] Launching MPMD jobs using mpiexec with
>> hydra
>>
>>
>> You can use:
>>
>> % mpiexec -f machinefile -n 4 ./foo1 : -n 3 ./foo2 : -n 5 ./foo3
>>
>>  -- Pavan
>>
>> On 02/12/2010 10:01 AM, Sindhi, Waris PW wrote:
>>> Hi,
>>>      I wanted to know what the best way to launch MPMD jobs using
>>> mpiexec is with the hydra process manager. I tried the -configfile
>> with
>>> mpiexec which does not seem to work with hydra.
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Sincerely,
>>> Waris
>>> _______________________________________________
>>> 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