MPI Introductory Programs
LAM MPI version, Fall 2003

  • (see compiling and running Mpi programs)
  • MPI C++ bindings

    1. helloWorldMPI.c, helloWorldMPI.cpp

    2. hello2Mpi.c, hello2Mpi.cpp

    3. greetings.c, greetings.cpp

    4. recipMPI.c, recipMPICC.cpp

    5. trap.c, trapCC.cpp

    6. Josh Blake's MPI example (C), C++ version

    7. Other intro MPI program(s) (from the LAM Tutorial slides)

    8. mpi-julia.c, generates a julia set with portions allocated to "slave" processes. MPI version

    9. mpi-basicwin.c, Mpiglut (MPI for GLUT - c version)
      This program is modeled on Jeff Grafton's mpi-julia program,
      this version generates a parabola by splitting up the computation
      among n "slaves"

    10. MPI Links

    11. MPI Resources