[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b3-125-ga4aa067
Service Account
noreply at mpich.org
Tue Jun 23 14:35:11 CDT 2015
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 a4aa067596105b9b21d80c672eb00820e4c84cb5 (commit)
from 62829ab8a102daf287178e3fa4844cb19a2410a9 (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/a4aa067596105b9b21d80c672eb00820e4c84cb5
commit a4aa067596105b9b21d80c672eb00820e4c84cb5
Author: Rob Latham <robl at mcs.anl.gov>
Date: Tue Jun 23 09:31:40 2015 -0500
Increase number of finalizers
Lisandro Dalcin <dalcinl at gmail.com> reports that mpi4py's test suite
invokes MPIR_Add_finalize() 33 times. It's been 6.5 years since we
doubled it, so bump it up once again.
Closes: #2272
Signed-off-by: Junchao Zhang <jczhang at mcs.anl.gov>
diff --git a/src/mpi/init/finalize.c b/src/mpi/init/finalize.c
index f71668b..3aeeca7 100644
--- a/src/mpi/init/finalize.c
+++ b/src/mpi/init/finalize.c
@@ -65,7 +65,7 @@ typedef struct Finalize_func_t {
} Finalize_func_t;
/* When full debugging is enabled, each MPI handle type has a finalize handler
installed to detect unfreed handles. */
-#define MAX_FINALIZE_FUNC 32
+#define MAX_FINALIZE_FUNC 64
static Finalize_func_t fstack[MAX_FINALIZE_FUNC];
static int fstack_sp = 0;
static int fstack_max_priority = 0;
@@ -76,7 +76,8 @@ void MPIR_Add_finalize( int (*f)( void * ), void *extra_data, int priority )
if (fstack_sp >= MAX_FINALIZE_FUNC) {
/* This is a little tricky. We may want to check the state of
MPIR_Process.mpich_state to decide how to signal the error */
- (void)MPIU_Internal_error_printf( "overflow in finalize stack!\n" );
+ (void)MPIU_Internal_error_printf( "overflow in finalize stack! "
+ "Is MAX_FINALIZE_FUNC too small?\n" );
if (OPA_load_int(&MPIR_Process.mpich_state) == MPICH_IN_INIT ||
OPA_load_int(&MPIR_Process.mpich_state) == MPICH_POST_INIT)
{
-----------------------------------------------------------------------
Summary of changes:
src/mpi/init/finalize.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list