At the linking stage, I am getting an error of the form:
Undefined symbols for architecture x86_64: "_mpi_allreduce", referenced from: _pcna