[mpich] MPICH primary repository branch, master, updated. v3.1rc2-129-g87b2013
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 87b20136ac20a0fbcffd8e29edcc500fcebbfc22 (commit) from 08e68ffe300596c3d89ffe37e3b9fe1186a8231d (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/87b20136ac20a0fbcffd8e29edcc500fce... commit 87b20136ac20a0fbcffd8e29edcc500fcebbfc22 Author: Pavan Balaji <[email protected]> Date: Wed Jan 1 19:33:36 2014 -0600 Move default eager threshold setting to ch3. We were setting the default eager threshold inside nemesis, instead of in ch3. This was causing other ch3 channels, notably sock, to get a garbage default value for the eager threshold. Signed-off-by: Wesley Bland <[email protected]> diff --git a/src/mpid/ch3/channels/nemesis/src/ch3i_comm.c b/src/mpid/ch3/channels/nemesis/src/ch3i_comm.c index f95c25c..ec4ce5f 100644 --- a/src/mpid/ch3/channels/nemesis/src/ch3i_comm.c +++ b/src/mpid/ch3/channels/nemesis/src/ch3i_comm.c @@ -28,9 +28,6 @@ int MPIDI_CH3I_comm_create(MPID_Comm *comm, void *param) MPIDI_FUNC_ENTER(MPID_STATE_MPIDI_CH3I_COMM_CREATE); - /* Use the VC's eager threshold by default. */ - comm->ch.eager_max_msg_sz = -1; - #ifndef ENABLED_SHM_COLLECTIVES goto fn_exit; #endif diff --git a/src/mpid/ch3/src/ch3u_comm.c b/src/mpid/ch3/src/ch3u_comm.c index 23e182f..06cf6ba 100644 --- a/src/mpid/ch3/src/ch3u_comm.c +++ b/src/mpid/ch3/src/ch3u_comm.c @@ -206,6 +206,9 @@ int comm_created(MPID_Comm *comm, void *param) comm->ch.coll_active = TRUE; comm->ch.anysource_enabled = TRUE; + /* Use the VC's eager threshold by default. */ + comm->ch.eager_max_msg_sz = -1; + COMM_ADD(comm); fn_exit: ----------------------------------------------------------------------- Summary of changes: src/mpid/ch3/channels/nemesis/src/ch3i_comm.c | 3 --- src/mpid/ch3/src/ch3u_comm.c | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- MPICH primary repository
participants (1)
-
noreply@mpich.org