Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jeff Squyres \(jsquyres\) (jsquyres_at_[hidden])
Date: 2006-03-31 12:07:12

> -----Original Message-----
> From: users-bounces_at_[hidden]
> [mailto:users-bounces_at_[hidden]] On Behalf Of Rolf Vandevaart
> Sent: Thursday, March 30, 2006 3:43 PM
> To: users_at_[hidden]
> Subject: [OMPI users] General ORTE questions
> 6. From what I can tell, there is no way to specify the slots argument
> with the -host argument. For example, I cannot do this:
> mpirun -np 8 -host node1:slots=4,node2:slots=4 a.out
> Just wanted to confirm that.

Right now, I do believe that if you list a host more than once, it bumps
the slots count. This is somewhat inelegant, but something like:

shell$ mpirun -host node1 -host node1 ...
Same as:
shell% mpirun -host node1,node1 ...

Will make node1 have a slot count of 2. We can certainly change this,
though -- it wasn't implemented simply because I didn't think of this
case. :-)

Jeff Squyres
Server Virtualization Business Unit
Cisco Systems