/*D
   MPI_Comm_compare - Compares two communicators

Synopsis:
.vb
int MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result)
.ve

Input Parameters:
+ comm1 - first communicator (handle)
- comm2 - second communicator (handle)

Output Parameters:
. result - result (integer)

.N ThreadSafe
(To perform the communicator comparisons, this routine may need to
allocate some memory.  Memory allocation is not interrupt-safe, and hence
this routine is only thread-safe.)

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_COMM
.N MPI_ERR_OTHER

D*/

