CSERD


  • userhome
  • catalog
  • resources
  • help

Parallel Programming Examples using MPI


Shodor > CSERD > Resources > Tutorials > Parallel Programming Examples using MPI

  Overview  •   Parameter Space Study  •   The Game of Life  •   GalaxSee  •   Intermediate MPI Examples


Parallel Programming Examples Using MPI

The Game of Life

(Command line options nrows ncols niter do_display. For the first option, enter the number of rows, for the second, enter the number of columns. Note, this is the size per CPU, not the total size. For the third option, select the number of iterations for which the program will run. For the final option, enter a 1 to show a graphical display, or a 0 to not show a graphical display.)

Download Code

Browse Life.cpp ( Key)


©1994-2024 Shodor