[mpich2-commits] r4226 - mpich2/trunk/src/util/procmap

goodell at mcs.anl.gov goodell at mcs.anl.gov
Mon Mar 30 17:13:31 CDT 2009


Author: goodell
Date: 2009-03-30 17:13:31 -0500 (Mon, 30 Mar 2009)
New Revision: 4226

Modified:
   mpich2/trunk/src/util/procmap/local_proc.c
Log:
MPIU_Find_local_and_external bug fix for node unaware devices (ticket #506).

Fixes an embarrassingly obvious bug in MPIU_Find_local_and_external when the
ADI3 device does not have node topology information.  See ticket #506.

No reviewer.

Modified: mpich2/trunk/src/util/procmap/local_proc.c
===================================================================
--- mpich2/trunk/src/util/procmap/local_proc.c	2009-03-30 15:37:41 UTC (rev 4225)
+++ mpich2/trunk/src/util/procmap/local_proc.c	2009-03-30 22:13:31 UTC (rev 4226)
@@ -206,7 +206,7 @@
                                  int *external_size_p, int *external_rank_p, int **external_ranks_p,
                                  int **intranode_table_p, int **internode_table_p)
 {
-    int mpi_errno;
+    int mpi_errno = MPI_SUCCESS;
     
     /* The upper level can catch this non-fatal error and should be
        able to recover gracefully. */



More information about the mpich2-commits mailing list