PPT Slide
A typical MPI program written in C has the following layout:
#include "mpi.h"
main(int argc, char** argv) {
/* No MPI functions called before this */
MPI_Init(&argc, &argv);
/* code that makes use of MPI here */
MPI_Finalize();
/* No MPI functions called after this */
} /* main */
Previous slide
Next slide
Back to first slide
View graphic version