From ec760454a67f1f32f14cd2dcb5eaa2992265e150 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Wed, 4 Jul 2012 21:22:13 +0000 Subject: [PATCH] Cleaning ... This commit was SVN r26747. --- ompi/mca/pml/dr/pml_dr_recvfrag.c | 4 ++-- orte/mca/errmgr/base/errmgr_base_fns.c | 2 +- orte/mca/oob/ud/oob_ud_recv.c | 10 ---------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/ompi/mca/pml/dr/pml_dr_recvfrag.c b/ompi/mca/pml/dr/pml_dr_recvfrag.c index c59c65c55f..788f3fa5f9 100644 --- a/ompi/mca/pml/dr/pml_dr_recvfrag.c +++ b/ompi/mca/pml/dr/pml_dr_recvfrag.c @@ -113,8 +113,8 @@ void mca_pml_dr_recv_frag_callback( (btl->btl_flags & MCA_BTL_FLAGS_NEED_CSUM); if(segments->seg_len < sizeof(mca_pml_dr_common_hdr_t)) { - MCA_PML_DR_DEBUG(0,(0, "%s:%d: wtf? segments->seg_len:%d < sizeof(mca_pml_dr_common_hdr_t):%lu\n", - __FILE__, __LINE__, segments->seg_len, (unsigned long)sizeof(mca_pml_dr_common_hdr_t))); + MCA_PML_DR_DEBUG(0,(0, "%s:%d: ???? segments->seg_len:%lu < sizeof(mca_pml_dr_common_hdr_t):%lu\n", + __FILE__, __LINE__, (unsigned long)segments->seg_len, (unsigned long)sizeof(mca_pml_dr_common_hdr_t))); return; } diff --git a/orte/mca/errmgr/base/errmgr_base_fns.c b/orte/mca/errmgr/base/errmgr_base_fns.c index 753ba36d8c..1961f98079 100644 --- a/orte/mca/errmgr/base/errmgr_base_fns.c +++ b/orte/mca/errmgr/base/errmgr_base_fns.c @@ -222,7 +222,7 @@ char* orte_errmgr_base_pmi_error(int pmi_err) case PMI_ERR_INVALID_KEYVALP: err_msg = "Invalid keyvalp argument"; break; case PMI_ERR_INVALID_SIZE: err_msg = "Invalid size argument"; break; #if defined(PMI_ERR_INVALID_KVS) - /* pmi.h calls this a valid return code but mpich doesn't define it (slurm does). wtf */ + /* pmi.h calls this a valid return code but mpich doesn't define it (slurm does). */ case PMI_ERR_INVALID_KVS: err_msg = "Invalid kvs argument"; break; #endif case PMI_SUCCESS: err_msg = "Success"; break; diff --git a/orte/mca/oob/ud/oob_ud_recv.c b/orte/mca/oob/ud/oob_ud_recv.c index 5ddc0da650..40bf480640 100644 --- a/orte/mca/oob/ud/oob_ud_recv.c +++ b/orte/mca/oob/ud/oob_ud_recv.c @@ -382,10 +382,6 @@ int mca_oob_ud_recv_try (mca_oob_ud_req_t *recv_req) packet_size = 0; - if (sge_index >= sge_count) { - opal_output (0, "WTF!!!"); - } - /* grh */ mca_oob_ud_fill_sge(recv_req->req_sge + sge_index++, recv_req->req_grh + wr_index, @@ -395,12 +391,6 @@ int mca_oob_ud_recv_try (mca_oob_ud_req_t *recv_req) do { int to_recv = min (iov_left, mtu - packet_size); - if (sge_index >= sge_count) { - int *i = 0; - opal_output (0, "WTF!!! P2"); - (*i) = 1; - } - mca_oob_ud_fill_sge(recv_req->req_sge + sge_index++, (char *)recv_req->req_uiov[iov_index].iov_base + iov_offset, to_recv, recv_req->req_mr[iov_index]->lkey);