Writing MPI programs


Up: Getting started Next: Commentary Previous: Getting started


#include "mpi.h"
#include <stdio.h>

int main( argc, argv )
int argc;
char **argv;
{
MPI_Init( &argc, &argv );
printf( "Hello world\n" );
MPI_Finalize();
return 0;
}



Up: Getting started Next: Commentary Previous: Getting started