My guess is that you've installed OpenMPI, as vs MPICH2 as given in the examples, yes? There's nothing wrong with that, but the options for things like specifying machine files are somewhat different. You'll want
mpiexec -machinefile machinefile -n 1 hostname
etc.