Send and Receive operations between communicators in MPI
问题 Following my previous question : Unable to implement MPI_Intercomm_create The problem of MPI_INTERCOMM_CREATE has been solved. But when I try to implement a basic send receive operations between process 0 of color 0 (globally rank = 0) and process 0 of color 1 (ie globally rank = 2), the code just hangs up after printing received buffer. the code: program hello include 'mpif.h' implicit none integer tag,ierr,rank,numtasks,color,new_comm,inter1,inter2 integer sendbuf,recvbuf,tag,stat(MPI