next up previous
Next: Performance Up: General Capabilities Previous: Collective Operations

   
An Example p4 Program

For a flavor of what a p4 program looks like, we give in Figure [*] an example of a program in which all processes send messages to one another. The program here is in C, but the Fortran would look quite similar.


  
Figure: A Simple p4 Program
3#3

To run this program on either an Intel iPSC860 or a Sequent Symmetry, one would start it with the following procgroup file:


4#4

To run the same program on a network of workstations, one would just change the procgroup file to something like:


5#5



Karen D. Toonen
1998-11-19