To make a program, type e.g.
make cpi
and run it in the current subcomplex as e.g.
mpirun -np 2 cpi
A Monte Carlo method to determine the value of pi: