Based on the output, this looks like OpenMPI 2.1, which unfortunately isn’t supported by the example yet. Per the README for the current production release, the options for the MPI implementation are:
- OpenMPI 1.8.1
- MPICH 3.2
- Intel MPI 5.0.1
so I would see if you can install one of these. If you’re on a cluster supporting MPI, it’s highly likely that one or more of these is available.
The MPI example is in need of maintenance, and longer term integration in the core toolkit. Unfortunately we don’t have the manpower to do this right now.