MpichCluster - Community Ubuntu Documentation: "mpiu@ub0:~$ mpicc mpi_hello.c -o mpi_hello
and run it (the parameter next to -n specifies the number of processes to spawn and distribute among nodes):
mpiu@ub0:~$ mpiexec -n 8 -f machinefile ./mpi_hello"
'via Blog this'