Newsgroups: comp.parallel.mpi
From: Christoph Giess <ch.giess@dkfz-heidelberg.de>
Subject: Re: MPMD - How ?
Organization: University of Heidelberg, Germany
Date: Thu, 01 May 1997 10:48:15 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <336858BA.4B39@dkfz-heidelberg.de>


Morten Bro-Nielsen wrote:
> 
> Question:
> 
>     But, how do I implement such a MPMD system. I couldn't find a
>     single example of how to start two independent programs on two
>     different computers, and have them communicate.
> 
> Any help and/or example code would be much appreciated.
> 
> --Morten

Hallo,

it should be possible to run an other program on every workstation.
That is described for different architectures in the "Installation Guide
to
mpich" (side 27).

An other idea with SPMD (master-slaves):
- master asks you where to start which "program" and sends a message
- every slaves receive his message and calls a different function
- whith dynamic linking it looks nearly like a MPMD-program

Any questions? Send me a mail.

Bye,
 Christoph

===============================================================================
Christoph Giess
Deutsches Krebsforschungszentrum            (German Cancer Research
Center)
Medical and Biological Informatics (0805)         Tel: (+49) 6221 - 42
2325
Im Neuenheimer Feld 280                           Fax: (+49) 6221 - 42
2345
D-69120 Heidelberg                      e-mail 
Ch.Giess@DKFZ-Heidelberg.de
Germany                                 http://mbi.dkfz-heidelberg.de/
===============================================================================

