The two files have a slightly different format and completely different meaning. The hostfile specifies how many slots are on a node. The rankfile specifies a rank and what node/slot it is to be mapped onto.

Rankfiles can use relative node indexing and refer to nodes received from a resource manager - i.e., without any hostfile.

So the files are intentionally quite different. Trying to combine them would be rather ugly.
Ralph


On Thu, Jun 18, 2009 at 1:52 PM, Eugene Loh <Eugene.Loh@sun.com> wrote:
In order to use "mpirun --rankfile", I also need to specify hosts/hostlist.  But that information is redundant with what I provide in the rankfile.  So, from a user's point of view, this strikes me as broken.  Yes?  Should I file a ticket, or am I missing something here about this functionality?
_______________________________________________
devel mailing list
devel@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel