Commit 62be3f0b authored by Rob Latham's avatar Rob Latham Committed by Pavan Balaji
Browse files

fix MPI_T test failure due to uninit variables



buildbot reports some crazy error messages:
INTERNAL ERROR: invalid error code 3e (Ring ids do not match) in PMPI_T_cvar_handle_alloc:135

valgrind more helpfully points out places where uninitialized varables
were being passed into the MPI_T interface.  Perhaps MPI_T interface
needs to be robust-ified against garbage inputs?
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@mcs.anl.gov>
parent eb8baaba
......@@ -17,9 +17,9 @@ int main( int argc, char *argv[] )
MPI_Datatype dtype;
MPI_T_enum enumtype;
MPI_T_cvar_handle bcastHandle, bcastLongHandle;
int bcastCount, bcastScope, bcastCvar;
int bcastLongCount, bcastLongScope, bcastLongCvar;
int gatherCount, gatherScope, gatherCvar;
int bcastCount, bcastScope=MPIX_T_SCOPE_INVALID, bcastCvar=-1;
int bcastLongCount, bcastLongScope, bcastLongCvar=-1;
int gatherScope, gatherCvar;
int newval;
int errs = 0;
......
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