ch4: add recv request info for debug progress
Since the common progress time out is due to pending recv, add some request info to help debugging.
Esse commit está contido em:
@@ -193,6 +193,8 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_OFI_do_irecv(void *buf,
|
||||
}
|
||||
}
|
||||
|
||||
MPIR_REQUEST_SET_INFO(rreq, "MPIDI_OFI_do_irecv: source=%d, tag=%d, data_sz=%ld", rank, tag,
|
||||
data_sz);
|
||||
if (!dt_contig || force_gpu_pack) {
|
||||
if (MPIDI_OFI_ENABLE_PT2PT_NOPACK && !force_gpu_pack &&
|
||||
((data_sz < MPIDI_OFI_global.max_msg_size && !MPIDI_OFI_COMM(comm).enable_striping) ||
|
||||
|
||||
@@ -207,6 +207,8 @@ static int create_unexp_rreq(int rank, int tag, MPIR_Context_id_t context_id,
|
||||
|
||||
MPIR_Request *rreq = MPIDIG_request_create(MPIR_REQUEST_KIND__RECV, 2, local_vci, remote_vci);
|
||||
MPIR_ERR_CHKANDSTMT(rreq == NULL, mpi_errno, MPIX_ERR_NOREQ, goto fn_fail, "**nomemreq");
|
||||
MPIR_REQUEST_SET_INFO(rreq, "create_unexp_rreq: source=%d, tag=%d, data_sz=%ld", rank, tag,
|
||||
data_sz);
|
||||
|
||||
*req = rreq;
|
||||
|
||||
|
||||
@@ -285,6 +285,8 @@ MPL_STATIC_INLINE_PREFIX int MPIDIG_do_irecv(void *buf, MPI_Aint count, MPI_Data
|
||||
MPIR_Datatype_add_ref_if_not_builtin(datatype);
|
||||
MPIDIG_prepare_recv_req(rank, tag, context_id, buf, count, datatype, rreq);
|
||||
MPIDIG_enqueue_request(rreq, &MPIDI_global.per_vci[vci].posted_list, MPIDIG_PT2PT_POSTED);
|
||||
MPIR_REQUEST_SET_INFO(rreq, "MPIDIG_do_irecv: source=%d, tag=%d, count=%ld, datatype=%x",
|
||||
rank, tag, count, datatype);
|
||||
}
|
||||
|
||||
fn_exit:
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário