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