Boost logo

Boost Users :

Subject: Re: [Boost-users] [ Boost.MPI ] : Spawning processes, Intercommunicators and send custom data-types ?
From: Matthias Troyer (troyer_at_[hidden])
Date: 2009-09-06 13:35:22


On 31 Aug 2009, at 08:48, Ashika Umanga Umagiliya wrote:

> Greetings all,
>
> I use OpenMPI 1.3.3 and I tried to spawn child processes (using
> MPI_Comm_spawn) and send user-defined-datatypes across processes.The
> child processes should be ranked from 1-5 while the rank 0 is the
> manager processes (manager.cpp) .
> But I get rank 0 for manager process and the child processes also
> ranked starting from 0 (0-4) . So I cannot send data from manager
> process to first child processes (which suppose to be rank 1)
>
> Please give any suggestion to resolve this.
> thanks in advance,
> umanga
>

Every group is numbered starting from 0. Using the intercommunicator
the ranks 0-4 refer to the other group. All this is the same as using
the C inetrface

Matthias


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net