Commit f54624f0 authored by Darius Buntinas's avatar Darius Buntinas
Browse files

[svn-r10466] increased event queue length to avoid dropped events. Make...

[svn-r10466] increased event queue length to avoid dropped events.  Make oveflow MEs throw AUTO_UNLINK and AUTO_FREE events
parent d5ca7ed6
......@@ -11,7 +11,7 @@
#error Checkpointing not implemented
#endif
#define EQ_COUNT 100
#define EQ_COUNT 1024
#define NID_KEY "NID"
#define PID_KEY "PID"
#define PTI_KEY "PTI"
......
......@@ -135,7 +135,7 @@ static int append_overflow(int i)
me.ct_handle = PTL_CT_NONE;
me.uid = PTL_UID_ANY;
me.options = ( PTL_ME_OP_PUT | PTL_ME_MANAGE_LOCAL | PTL_ME_NO_TRUNCATE | PTL_ME_MAY_ALIGN |
PTL_ME_IS_ACCESSIBLE | PTL_ME_EVENT_LINK_DISABLE | PTL_ME_EVENT_UNLINK_DISABLE );
PTL_ME_IS_ACCESSIBLE | PTL_ME_EVENT_LINK_DISABLE );
me.match_id = id_any;
me.match_bits = 0;
me.ignore_bits = ~((ptl_match_bits_t)0);
......@@ -172,7 +172,7 @@ int MPID_nem_ptl_poll(int is_blocking_poll)
break;
MPIU_ERR_CHKANDJUMP(ret == PTL_EQ_DROPPED, mpi_errno, MPI_ERR_OTHER, "**eqdropped");
MPIU_ERR_CHKANDJUMP1(ret, mpi_errno, MPI_ERR_OTHER, "**ptleqget", "**ptleqget %s", MPID_nem_ptl_strerror(ret));
MPIU_DBG_MSG_FMT(CH3_CHANNEL, VERBOSE, (MPIU_DBG_FDEST, "Received event %s ni_fail=%s list=%s user_ptr=%p hdr_data=%#lx\n",
MPIU_DBG_MSG_FMT(CH3_CHANNEL, VERBOSE, (MPIU_DBG_FDEST, "Received event %s ni_fail=%s list=%s user_ptr=%p hdr_data=%#lx",
MPID_nem_ptl_strevent(&event), MPID_nem_ptl_strnifail(event.ni_fail_type),
MPID_nem_ptl_strlist(event.ptl_list), event.user_ptr, event.hdr_data));
......
......@@ -664,6 +664,10 @@ static int handler_large(const ptl_event_t *e)
MPIDI_FUNC_ENTER(MPID_STATE_HANDLER_LARGE);
#warning DARIUS
if (e->type != PTL_EVENT_ACK) printf("Received bad event %s ni_fail=%s list=%s user_ptr=%p hdr_data=%#lx\n",
MPID_nem_ptl_strevent(e), MPID_nem_ptl_strnifail(e->ni_fail_type),
MPID_nem_ptl_strlist(e->ptl_list), e->user_ptr, e->hdr_data);
MPIU_Assert(e->type == PTL_EVENT_ACK);
if (e->mlength < PTL_LARGE_THRESHOLD) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment