This function is used as a synchronization point for all
processes in a group. All processes are blocked until
every process calls mpibarrier. The general syntax
for its use is
mpibarrier(comm)
where comm is the communicator. If no communicator is
provided, it defaults to MPI_COMM_WORLD.