Supercomputer Applications
Using MPE - Graphics Package for MPI
The MPE Graphics Library works with a version of MPI called "MPICH"
  
This means that you must use this MPICH system rather than LAM.
 - Download the sample MPE graphics file - save as cxgraphics.c -
   cxgraphics.c
 
Also see the longer version: 
 cxgraphicsOrig.c
  - To compile this file: mpecc cxgraphics    (you don't need the ".c")
 
This should make an executable file called "cxgraphics"
  - To Run this program:  mperun -np 3 cxgraphics
  
( "-np 3" means run with 3 processes)
  
  - Now try a "MonteCarlo" approximation of PI
   
       - Download monteCarloMPI.c
(save as monteCarloMPI.c)
      
 - Compile:  mpecc monteCarloMPI.c
      
 - Run:  mperun -np 3 monteCarloMPI .01   (the last number is epsilon -
      LOOK AT THE CODE!) 
     
 
   - MPE Resources: