LAM/MPI logo

Compiling under LAM

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials
Introduction | Preliminary setup | Compiling MPI programs |
Booting LAM/MPI | Running MPI programs | Shutting down LAM/MPI ]

3. COMPILATION UNDER LAM

    3.1 Sample MPI program in C

    We present here a simple C program that passes a message around a ring of processors. This example will be presented during the Notre Dame MPI tutorial.

    3.2 Makefile

    The most simple and straight forward way to compile MPI programs running under the LAM implementation is to modify an existing Makefile. We suggest that you modify the this Makefile to your liking and expand on it as you become more comfortable with LAM.

Introduction | Preliminary setup | Compiling MPI programs |
Booting LAM/MPI | Running MPI programs | Shutting down LAM/MPI ]