[mpich2-commits] r7411 - mpich2/trunk/src/mpi/coll

gropp at mcs.anl.gov gropp at mcs.anl.gov
Wed Nov 3 13:35:55 CDT 2010


Author: gropp
Date: 2010-11-03 13:35:55 -0500 (Wed, 03 Nov 2010)
New Revision: 7411

Modified:
   mpich2/trunk/src/mpi/coll/allreduce.c
Log:
Added warning about Op_table entries

Modified: mpich2/trunk/src/mpi/coll/allreduce.c
===================================================================
--- mpich2/trunk/src/mpi/coll/allreduce.c	2010-11-02 21:51:54 UTC (rev 7410)
+++ mpich2/trunk/src/mpi/coll/allreduce.c	2010-11-03 18:35:55 UTC (rev 7411)
@@ -22,6 +22,8 @@
 #undef MPI_Allreduce
 #define MPI_Allreduce PMPI_Allreduce
 
+/* The order of entries in this table must match the definitions in 
+   mpi.h.in */
 MPI_User_function *MPIR_Op_table[] = { MPIR_MAXF, MPIR_MINF, MPIR_SUM,
                                        MPIR_PROD, MPIR_LAND,
                                        MPIR_BAND, MPIR_LOR, MPIR_BOR,



More information about the mpich2-commits mailing list