Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] 1.3.1 -rf rankfile behaviour ??
From: Ralph Castain (rhc_at_[hidden])
Date: 2009-04-21 11:17:56


I'm working on it - the code was not written for multiple app_contexts, and
I have to fix a few compensating errors as well.

Hope to have it in the next couple of days.

On Tue, Apr 21, 2009 at 8:24 AM, Geoffroy Pignot <geopignot_at_[hidden]>wrote:

> Hi Lenny,
>
> Here is the basic mpirun command I would like to run :
>
> mpirun -rf rankfile -n 1 -host r001n001 master.x options1 : -n 1 -host
> r001n002 master.x options2 : -n 1 -host r001n001 slave.x options3 : -n 1
> -host r001n002 slave.x options4
>
> with cat rankfile
> rank 0=r001n001 slot=0:*
> rank 1=r001n002 slot=0:*
> rank 3=r001n001 slot=1:*
> rank 4=r001n002 slot=1:*
>
> It should be equivalent and more elegant to run :
> mpirun -hostfile myhostfile -rf rankfile -n 1 master.x options1 : -n 1
> master.x options2 : -n 1 slave.x options3 : -n 1 slave.x options4
>
> with cat myhostfile
> r001n001 slots=2
> r001n002 slots=2
>
> I hope these examples will set you straight about I want to do
>
> Regards
>
> Geoffroy
>
>
>
>>
>> It's something in the basis, right,
>> I tried to investigate it yesterday and saw that for some reason
>> jdata->bookmark->index is 2 instead of 1 ( in this example ).
>>
>> [dellix7:28454] [
>> ../../../../../orte/mca/rmaps/rank_file/rmaps_rank_file.c
>> +417 ] node->index = 1, jdata->bookmark->index=2
>> [dellix7:28454] [
>> ../../../../../orte/mca/rmaps/rank_file/rmaps_rank_file.c
>> +417 ] node->index = 2, jdata->bookmark->index=2
>> I am not so familiar with this part of code, since it appears in all rmap
>> component and I just copied it :).
>>
>> I am also not quite understand what Geoffroy tries to run, so I can think
>> od
>> workaround.
>> Lenny.
>>
>>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>