Skip to content

Commit

Permalink
sessions: fixes after a rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
  • Loading branch information
hppritcha committed Nov 20, 2021
1 parent 8b2b838 commit 7f8dcd4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/osc/rdma/osc_rdma_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,9 @@ static int allocate_state_shared (ompi_osc_rdma_module_t *module, void **base, s

if (0 == local_rank) {
/* allocate the shared memory segment */
ret = opal_asprintf (&data_file, "%s" OPAL_PATH_SEP "osc_rdma.%s.%x.%d.%d",
ret = opal_asprintf (&data_file, "%s" OPAL_PATH_SEP "osc_rdma.%s.%x.%s.%d",
mca_osc_rdma_component.backing_directory, ompi_process_info.nodename,
OMPI_PROC_MY_NAME->jobid, ompi_comm_get_cid(module->comm), getpid());
OMPI_PROC_MY_NAME->jobid, ompi_comm_print_cid(module->comm), getpid());
if (0 > ret) {
ret = OMPI_ERR_OUT_OF_RESOURCE;
} else {
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/pml/ob1/pml_ob1_recvfrag.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ void mca_pml_ob1_recv_frag_callback_ack (mca_btl_base_module_t *btl,
#if OPAL_ENABLE_FT_MPI
/* if the req_recv is NULL, the comm has been revoked at the receiver */
if( OPAL_UNLIKELY(NULL == sendreq->req_recv.pval) ) {
OPAL_OUTPUT_VERBOSE((2, ompi_ftmpi_output_handle, "Recvfrag: Received a NACK to the RDV/RGET match to %d for seq %" PRIu64 " on comm %s\n", sendreq->req_send.req_base.req_peer, sendreq->req_send.req_base.req_sequence, ompi_comm_print_cid(sendreq->req_send.req_base.req_comm)))
OPAL_OUTPUT_VERBOSE((2, ompi_ftmpi_output_handle, "Recvfrag: Received a NACK to the RDV/RGET match to %d for seq %" PRIu64 " on comm %s\n", sendreq->req_send.req_base.req_peer, sendreq->req_send.req_base.req_sequence, ompi_comm_print_cid(sendreq->req_send.req_base.req_comm)));
if (NULL != sendreq->rdma_frag) {
MCA_PML_OB1_RDMA_FRAG_RETURN(sendreq->rdma_frag);
sendreq->rdma_frag = NULL;
Expand Down
2 changes: 1 addition & 1 deletion ompi/mpi/c/session_get_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int MPI_Session_get_info (MPI_Session session, MPI_Info *info_used)

opal_info_t *opal_info_used = &(*info_used)->super;

opal_info_dup_mpistandard (session->super.s_info, &opal_info_used);
opal_info_dup (session->super.s_info, &opal_info_used);

return MPI_SUCCESS;
}

0 comments on commit 7f8dcd4

Please sign in to comment.