MPI_Comm_test_inter
int MPI_Comm_test_inter(MPI_Comm, int *);
Returns the type of a communicator (intra-communicator or inter-communicator).