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] 1.3.1 -rf rankfile behaviour ??
From: Geoffroy Pignot (geopignot_at_[hidden])
Date: 2009-04-21 10:24:32

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



> 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.