[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-445-g2659cdd
mysql vizuser
noreply at mpich.org
Wed Aug 7 11:29:05 CDT 2013
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 2659cdd35f5e14caf2560d21f433c8c2542d1a78 (commit)
from 92a7e4115d8c923dc4cf8c0002f911f7f60138c9 (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/2659cdd35f5e14caf2560d21f433c8c2542d1a78
commit 2659cdd35f5e14caf2560d21f433c8c2542d1a78
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date: Tue Aug 6 22:57:19 2013 -0500
Initialize environment parameters before MPI is initialized.
We need the environment-passed parameters to determine what
thread-level needs to be used. Fixes ticket #1892.
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/src/mpi/init/initthread.c b/src/mpi/init/initthread.c
index 042f13d..44a5cfe 100644
--- a/src/mpi/init/initthread.c
+++ b/src/mpi/init/initthread.c
@@ -390,9 +390,6 @@ int MPIR_Init_thread(int * argc, char ***argv, int required, int * provided)
/* MPIU_Timer_pre_init(); */
- mpi_errno = MPIR_Param_init_params();
- if (mpi_errno) MPIU_ERR_POP(mpi_errno);
-
/* Wait for debugger to attach if requested. */
if (MPIR_PARAM_DEBUG_HOLD) {
volatile int hold = 1;
@@ -585,6 +582,9 @@ int MPI_Init_thread( int *argc, char ***argv, int required, int *provided )
/* ... body of routine ... */
+ mpi_errno = MPIR_Param_init_params();
+ if (mpi_errno) MPIU_ERR_POP(mpi_errno);
+
/* If the user requested for asynchronous progress, request for
* THREAD_MULTIPLE. */
if (MPIR_PARAM_ASYNC_PROGRESS)
-----------------------------------------------------------------------
Summary of changes:
src/mpi/init/initthread.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list