[mvapich-discuss] Rank Placement in MVAPICH

vaibhav dutt vaibhavsupersaiyan9 at gmail.com
Fri Apr 8 11:55:56 EDT 2011


Hi,

I tried to change the hostfile in this manner but I am getting an error like


 child_handler: Error in init phase...wait for cleanup! (0/5mpispawn
connections)
Failed in initilization phase, cleaned up all the mpispawn!


I am trying to run 32 processes across 4 nodes and my hostfile looks like


compute-0-0.local
compute-0-0.local
compute-0-0.local
compute-0-0.local
compute-0-0.local
compute-0-0.local
compute-0-0.local
compute-0-0.local
compute-0-1.local
compute-0-1.local
compute-0-1.local
compute-0-1.local
compute-0-1.local
compute-0-1.local
compute-0-1.local
compute-0-1.local
compute-0-2.local
compute-0-2.local
compute-0-2.local
compute-0-2.local
compute-0-2.local
compute-0-2.local
compute-0-2.local
compute-0-2.local
compute-0-3.local
compute-0-3-local
compute-0-3.local
compute-0-3.local
compute-0-3.local
compute-0-3.local
compute-0-3.local
compute-0-3.local

Thanks
On Thu, Apr 7, 2011 at 12:56 PM, Hari Subramoni <subramon at cse.ohio-state.edu
> wrote:

> Hi Vaibhav,
>
> To get a block allocation just repeat n1 8 times then n2 8 times in your
> hostfile. This will change the allocation to block.
>
> 1: n1
> 2: n1
> ..
> 8: n1
> 1: n2
> 2: n2
> ..
> 8: n2
>
> Please refer to the MVAPICH2 userguide at the following link for more
> information
>
>
> http://mvapich.cse.ohio-state.edu/support/user_guide_mvapich2-1.6.html#x1-240005.2.1
>
> Thx,
> Hari.
>
>
> On Thu, 7 Apr 2011, vaibhav dutt wrote:
>
> > Hi,
> >
> > I am trying to execute a job  of 16 processes across two nodes and my
> > hostfile looks like
> >
> > n1:8
> > n2:8.
> >
> > I notice that the ranks   0,2,4,6,8,10,12,14 are on node 1 and
> > 1,3,5,7,9,11,13,15 are on node 2 which seems to be
> > cyclic distribution. Is this the default rank placement strategy in
> MVAPICH
> > as I did not give any special option on runtime
> > for the rank distribution to be cyclic. How to change it to block?
> >
> > Thanks
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20110408/76fd289b/attachment-0001.html


More information about the mvapich-discuss mailing list