29 assert(ipm == 1 || ipm == -1);
35 printf(
"%s: allocate channel failed.\n", __func__);
45 if (retv != MPI_SUCCESS) {
64 assert(ipm == 1 || ipm == -1);
70 printf(
"%s: allocate channel failed.\n", __func__);
80 if (retv != MPI_SUCCESS) {
133 return MPI_ERR_BUFFER;