[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-180-ga811897

mysql vizuser noreply at mpich.org
Thu May 9 16:31:26 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  a811897209cc3087b4a4379438be31884a637b21 (commit)
      from  faff4d1d5c504ca29b4fafe18978ad3c05e0c6df (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/a811897209cc3087b4a4379438be31884a637b21

commit a811897209cc3087b4a4379438be31884a637b21
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Thu May 9 16:21:17 2013 -0500

    Make MPIR_Comm_create_group visible to other MPICH utilities.
    
    No reviewer.

diff --git a/src/include/mpiimpl.h b/src/include/mpiimpl.h
index deedd53..bd0db7c 100644
--- a/src/include/mpiimpl.h
+++ b/src/include/mpiimpl.h
@@ -4073,6 +4073,8 @@ int MPIR_Reduce_local_impl(const void *inbuf, void *inoutbuf, int count, MPI_Dat
 int MPIR_Setup_intercomm_localcomm( MPID_Comm * );
 
 int MPIR_Comm_create( MPID_Comm ** );
+int MPIR_Comm_create_group(MPID_Comm * comm_ptr, MPID_Group * group_ptr, int tag,
+                           MPID_Comm ** newcomm);
 
 /* comm_create helper functions, used by both comm_create and comm_create_group */
 int MPIR_Comm_create_calculate_mapping(MPID_Group  *group_ptr,
diff --git a/src/mpi/comm/comm_create_group.c b/src/mpi/comm/comm_create_group.c
index 9478361..ab946c9 100644
--- a/src/mpi/comm/comm_create_group.c
+++ b/src/mpi/comm/comm_create_group.c
@@ -18,11 +18,6 @@
 #endif
 /* -- End Profiling Symbol Block */
 
-/* PMPI_LOCAL should be dropped and this prototype moved to mpiimpl.h if we ever
- * need to use this routine outside of this translation unit */
-PMPI_LOCAL int MPIR_Comm_create_group(MPID_Comm * comm_ptr, MPID_Group * group_ptr, int tag,
-                                      MPID_Comm ** newcomm);
-
 
 /* Define MPICH_MPI_FROM_PMPI if weak symbols are not supported to build
    the MPI routines */
@@ -36,8 +31,8 @@ PMPI_LOCAL int MPIR_Comm_create_group(MPID_Comm * comm_ptr, MPID_Group * group_p
 #define FCNAME MPIU_QUOTE(FUNCNAME)
 /* comm create group impl; assumes that the standard error checking
  * has already taken place in the calling function */
-PMPI_LOCAL int MPIR_Comm_create_group(MPID_Comm * comm_ptr, MPID_Group * group_ptr, int tag,
-                                      MPID_Comm ** newcomm_ptr)
+int MPIR_Comm_create_group(MPID_Comm * comm_ptr, MPID_Group * group_ptr, int tag,
+                           MPID_Comm ** newcomm_ptr)
 {
     int mpi_errno = MPI_SUCCESS;
     MPIR_Context_id_t new_context_id = 0;

-----------------------------------------------------------------------

Summary of changes:
 src/include/mpiimpl.h            |    2 ++
 src/mpi/comm/comm_create_group.c |    9 ++-------
 2 files changed, 4 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list