[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.3-42-gb32ce89
Service Account
noreply at mpich.org
Thu Oct 23 14:44:40 CDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via b32ce89218e29ded4544b1ffe350e4cbc70bdcf9 (commit)
from 21450e3956421293cda1ffb699bc70c14d517b87 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/b32ce89218e29ded4544b1ffe350e4cbc70bdcf9
commit b32ce89218e29ded4544b1ffe350e4cbc70bdcf9
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date: Thu Oct 23 10:14:08 2014 -0500
portals4: increase unexpected message limits
Set the unpexected message header limit to 2 million and allocate
512MB of buffer space.
Signed-off-by: Pavan Balaji <balaji at anl.gov>
diff --git a/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_init.c b/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_init.c
index 09d84f7..9535797 100644
--- a/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_init.c
+++ b/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_init.c
@@ -101,6 +101,13 @@ static int ptl_init(MPIDI_PG_t *pg_p, int pg_rank, char **bc_val_p, int *val_max
MPIDI_Anysource_improbe_fn = MPID_nem_ptl_anysource_improbe;
+ /* set the unexpected header limit before PtlInit, unless it is already set in the env */
+ if (getenv("PTL_LIM_MAX_UNEXPECTED_HEADERS") == NULL) {
+ char *envstr = MPIU_Strdup("PTL_LIM_MAX_UNEXPECTED_HEADERS=2000000");
+ MPL_putenv(envstr);
+ MPIU_Free(envstr);
+ }
+
/* init portals */
ret = PtlInit();
MPIU_ERR_CHKANDJUMP1(ret, mpi_errno, MPI_ERR_OTHER, "**ptlinit", "**ptlinit %s", MPID_nem_ptl_strerror(ret));
diff --git a/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_poll.c b/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_poll.c
index 2167e18..3394ff4 100644
--- a/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_poll.c
+++ b/src/mpid/ch3/channels/nemesis/netmod/portals4/ptl_poll.c
@@ -7,7 +7,7 @@
#include "ptl_impl.h"
#define OVERFLOW_LENGTH (1024*1024)
-#define NUM_OVERFLOW_ME 50
+#define NUM_OVERFLOW_ME 512
static ptl_handle_me_t overflow_me_handle[NUM_OVERFLOW_ME];
static void *overflow_buf[NUM_OVERFLOW_ME];
-----------------------------------------------------------------------
Summary of changes:
.../channels/nemesis/netmod/portals4/ptl_init.c | 7 +++++++
.../channels/nemesis/netmod/portals4/ptl_poll.c | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list