Newsgroups: comp.parallel.mpi
From: Drotos Daniel <drdani@mazsola.iit.uni-miskolc.hu>
Subject: Re: simple program
Organization: Department of Automation, University of Miskolc
Date: Wed, 13 May 1998 10:28:16 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <355959A0.3DC2@mazsola.iit.uni-miskolc.hu>

Wolfram Webers wrote:
> > I would like to make a simple application. One process (let's call
> > it `s') will send a data and an _other_ process (let's say `r')
> > will receive it. It would be nice if I can write a program which
[ ... ]
>  Yes, read the MPI-Tutorials distributed with the Sources.

I have read tutorials, checked mpiexmpl and examples, but all
examples use only one binary and have code like

if (rank == 0)
  do_something(for example send)
else
  do_other_thing(for example receive)

But I would like to put `do_something' and `do_other_thing' in
_different_ binaries (and start one instance of those processes).

I think MPI_Intercomm_XXX can help, but I have not found any
example of them. Do you have one?

Dani

