On Tue, Apr 21, 2015 at 3:10 AM, siddhesh godbole <
[email protected]> wrote:

> Hello,
>
>
> can i create separate communicator for set of processes and run different
> programs in those communicator environment at a time?  i would like to
> create _comm1 for 2 procs, _comm2 for 4 procs and so on. how do i do that?
> is there any reference? is creating comm cost effective?
>

Yes, you can use something like MPI_Comm_split() to get new
subcommunicators, and then create
objects with those that will just run on those processes. For example, you
can have 2 SNESes on
subcomm1 and subcomm2 to do two concurrent solves.

   Matt


> thanks
>
> *Siddhesh M Godbole*
>
> 5th year Dual Degree,
> Civil Eng & Applied Mech.
> IIT Madras
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to