[mpich-discuss] using hydra to start a task on a specific node

Rajnish rajnish at cc.gatech.edu
Fri Aug 20 17:02:48 CDT 2010


Thanks a lot Camilo and Pavan.

I had mpich2-1.2.1p1 and did not have hostlist parameter, I am trying out
the 1.3 version now, will update if I get any problem.

Best,

- Rajnish.


On Thu, Aug 19, 2010 at 7:39 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:

>
> Please note that some of these features are added after mpich2-1.2.1p1 was
> released (such as the hostlist parameter).
>
> But if you are feeling adventurous today, read on :-).
>
> You can pick the Hydra version from mpich2-1.3b1 (
> http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.3b1/hydra-1.3b1.tar.gz)
> and use it to run applications compiled with mpich2-1.2.1p1.
>
> Building this new Hydra separately will give you an "mpiexec" and some
> other executables files, which you can directly use with your existing
> 1.2.1p1 application. Just have the "--prefix" point to your existing
> MPICH2's install location.
>
>  -- Pavan
>
>
> On 08/19/2010 06:09 PM, Camilo Rostoker wrote:
>
>> I asked this question just a few days ago and Pavan suggested the
>> following which worked for me:
>>
>>
>> host/hosts/hostlist is a global parameter that affects all executables.
>> Can you try this:
>>
>> % mpiexec -hostlist node01:5,node02:4,node03:2 -n 5 ./exec1 : -n 4
>> ./exec2 : -n 2 ./exec3
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Aug 19, 2010 at 5:03 PM, Rajnish <rajnish at cc.gatech.edu
>> <mailto:rajnish at cc.gatech.edu>> wrote:
>>
>>    Hi,
>>
>>    Is it possible to use mpiexec.hydra to start a task on a specific node?
>>
>>    Something like:
>>
>>    mpiexec -host node1 task1
>>
>>    But I would like to use mpiexec.hydra to have the above effect?
>>
>>    Thanks in advance,
>>    - Raj.
>>
>>    _______________________________________________
>>    mpich-discuss mailing list
>>    mpich-discuss at mcs.anl.gov <mailto: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 <http://www.mcs.anl.gov/%7Ebalaji>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100820/295ad114/attachment.htm>


More information about the mpich-discuss mailing list