Newsgroups: comp.parallel.mpi
From: pikus@sbphy.physics.ucsb.edu (Fedor G. Pikus)
Subject: Short MPI example of global sums neded (and a manual would be nice, too)
Organization: University of California, Santa Barbara
Date: 19 Oct 95 00:18:45 GMT
Message-ID: <pikus.814061925@sbphy.physics.ucsb.edu>

Hi,
I want to port my program from Paragon to T3D. On Paragon it uses native
library, NX. On T3D it will probably use MPI. There are very few
types of communications there, so porting should be easy, but I need to
do it fast, and I don't know MPI yet. I would appreciate an example of
the following type (the program is in Fortran, but if you have C
example, send it anyway, I know C too):
Single-Program-Multiple-Data code:
1) Node number 0 recognizes that it is 0, and reads data.
2) Node 0 sends data to all other nodes.
3) All nodes except 0 receive data
4) All nodes including 0 compute
5) All nodes execute global sum of few real and integer numbers

I would also appreciate a pointer to a nice MPI manual: not a
quick-start cheat-shit, but preferably a reference guide which lisks all
calls, with all their parameters and what they do, and short example of
how to call it.

Thanks a lot,
Fedor
-- 
                                  Fedor G. Pikus
WWW: http://www.physics.ucsb.edu/~pikus/
E-Mail: pikus@physics.ucsb.edu
Department of Physics, University of California at Santa Barbara.
--
                                  Fedor G. Pikus
WWW: http://www.physics.ucsb.edu/~pikus/
E-Mail: pikus@physics.ucsb.edu
Department of Physics, University of California at Santa Barbara.

