[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2a2-199-gdec3ed2

Service Account noreply at mpich.org
Tue Mar 3 14:44:27 CST 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  dec3ed276c5b4f5b8430a89b379dc26475d00437 (commit)
      from  e975773f1e8818b5c28f2cbd25d1a9d854de71d5 (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 -----------------------------------------------------------------

commit dec3ed276c5b4f5b8430a89b379dc26475d00437
Author: Junchao Zhang <jczhang at mcs.anl.gov>
Date:   Tue Mar 3 12:17:41 2015 -0600

    Fix weak attribute interface for new MPI_T routines
    Signed-off-by: Antonio J. Pena <apenya at mcs.anl.gov>

diff --git a/src/mpi_t/cat_get_index.c b/src/mpi_t/cat_get_index.c
index 415eaa4..331ef2b 100644
--- a/src/mpi_t/cat_get_index.c
+++ b/src/mpi_t/cat_get_index.c
@@ -13,6 +13,8 @@
 #pragma _HP_SECONDARY_DEF PMPI_T_category_get_index  MPI_T_category_get_index
 #elif defined(HAVE_PRAGMA_CRI_DUP)
 #pragma _CRI duplicate MPI_T_category_get_index as PMPI_T_category_get_index
+#elif defined(HAVE_WEAK_ATTRIBUTE)
+int MPI_T_category_get_index(const char *name, int *cat_index) __attribute__((weak,alias("PMPI_T_category_get_index")));
 /* -- End Profiling Symbol Block */
diff --git a/src/mpi_t/cvar_get_index.c b/src/mpi_t/cvar_get_index.c
index c065ea1..e40abbb 100644
--- a/src/mpi_t/cvar_get_index.c
+++ b/src/mpi_t/cvar_get_index.c
@@ -13,6 +13,8 @@
 #pragma _HP_SECONDARY_DEF PMPI_T_cvar_get_index  MPI_T_cvar_get_index
 #elif defined(HAVE_PRAGMA_CRI_DUP)
 #pragma _CRI duplicate MPI_T_cvar_get_index as PMPI_T_cvar_get_index
+#elif defined(HAVE_WEAK_ATTRIBUTE)
+int MPI_T_cvar_get_index(const char *name, int *cvar_index) __attribute__((weak,alias("PMPI_T_cvar_get_index")));
 /* -- End Profiling Symbol Block */
diff --git a/src/mpi_t/pvar_get_index.c b/src/mpi_t/pvar_get_index.c
index b785bea..bb1639c 100644
--- a/src/mpi_t/pvar_get_index.c
+++ b/src/mpi_t/pvar_get_index.c
@@ -13,6 +13,8 @@
 #pragma _HP_SECONDARY_DEF PMPI_T_pvar_get_index  MPI_T_pvar_get_index
 #elif defined(HAVE_PRAGMA_CRI_DUP)
 #pragma _CRI duplicate MPI_T_pvar_get_index as PMPI_T_pvar_get_index
+#elif defined(HAVE_WEAK_ATTRIBUTE)
+int MPI_T_pvar_get_index(const char *name, int var_class, int *pvar_index) __attribute__((weak,alias("PMPI_T_pvar_get_index")));
 /* -- End Profiling Symbol Block */


Summary of changes:
 src/mpi_t/cat_get_index.c  |    2 ++
 src/mpi_t/cvar_get_index.c |    2 ++
 src/mpi_t/pvar_get_index.c |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)

MPICH primary repository

More information about the commits mailing list