How about a hostfile such as

% cat -n ~/tmp/hostfile
     1  node0
     2  node0
     3  node1
     4  node0
     5  node1
     6  node1

Looks like the function to express the mapping is not anything simple.  If it's
an expressible function but too complicated for open mpi, you'll have to make
your own script to generate the function.  This shouldn't be hard to do with
any standard unix scripting.

        . . christian

On Mon, 01 Oct 2007, Torje Henriksen wrote:

> 
> Oh man, sorry about that, and thanks for the fast response.
> Let me try again, please :)
> 
> I want to manually specify what ranks should run on what node.
> 
> Here is an example of a mapping that I can't seem to be able to do, since 
> it isn't a round-robin type of mapping.
> 
> hosts ranks
> ===========
> node0 0,1,3
> node1 2,4,5
> 
> No matter what I do, I either get
> 
> node0: 0,1,2
> node1: 3,4,5
> 
> or
> 
> node0: 0,2,4
> node1: 1,3,5
> 
> 
> Hope I got it right this time, and thank you again.
> 
> -Torje
> 
> On Mon, 1 Oct 2007, jody wrote:
> 
> >> hosts ranks
> >> ===========
> >> node0 1,2,4
> >> node1 3,4,6
> >
> > I guess there must be a typo:
> > You can't assign one rank (4) to two nodes....
> > And ranks start from 0 not from 1.
> >
> > Check this site,
> > http://www.open-mpi.org/faq/?category=running#mpirun-host
> > there might be some inforegarding your problem.
> >
> > Jody
> > _______________________________________________
> > users mailing list
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
> >
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
christian.b...@qlogic.com
(QLogic Host Solutions Group, formerly Pathscale)

Reply via email to