[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1b1-176-gba82b53

mysql vizuser noreply at mpich.org
Fri Nov 1 10:06:23 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  ba82b5361e518f16fc06fcec6151d968e26bfbd5 (commit)
       via  1816baee78c4d120f7007a1ae4037ab1b762f0e5 (commit)
       via  98431efc18fa6cefdeb6d5a8d6815abce8d88216 (commit)
      from  1d565e423860d7aa246e556c4226bee12a0e970d (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/ba82b5361e518f16fc06fcec6151d968e26bfbd5

commit ba82b5361e518f16fc06fcec6151d968e26bfbd5
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Thu Oct 31 22:19:17 2013 -0500

    Mark comm_idup_mul as xfail.
    
    Signed-off-by: Huiwei Lu <huiweilu at mcs.anl.gov>

diff --git a/test/mpi/comm/testlist b/test/mpi/comm/testlist
index 25ad7f5..568bf2b 100644
--- a/test/mpi/comm/testlist
+++ b/test/mpi/comm/testlist
@@ -27,7 +27,7 @@ comm_group_rand 8 mpiversion=3.0
 comm_idup 2 mpiversion=3.0
 comm_idup 4 mpiversion=3.0
 comm_idup 9 mpiversion=3.0
-comm_idup_mul 2 mpiversion=3.0
+comm_idup_mul 2 mpiversion=3.0 xfail=ticket1935
 dup_with_info 2 mpiversion=3.0
 dup_with_info 4 mpiversion=3.0
 dup_with_info 9 mpiversion=3.0

http://git.mpich.org/mpich.git/commitdiff/1816baee78c4d120f7007a1ae4037ab1b762f0e5

commit 1816baee78c4d120f7007a1ae4037ab1b762f0e5
Author: Huiwei Lu <huiweilu at mcs.anl.gov>
Date:   Thu Sep 5 18:30:26 2013 -0500

    Add comm_idup_mul to .gitignore
    
    Signed-off-by: Pavan Balaji <balaji at mcs.anl.gov>

diff --git a/test/mpi/.gitignore b/test/mpi/.gitignore
index 30a5864..c4de65a 100644
--- a/test/mpi/.gitignore
+++ b/test/mpi/.gitignore
@@ -552,6 +552,7 @@
 /comm/comm_group_half
 /comm/comm_group_rand
 /comm/comm_idup
+/comm/comm_idup_mul
 /comm/comm_info
 /comm/commcreate1
 /comm/ctxsplit

http://git.mpich.org/mpich.git/commitdiff/98431efc18fa6cefdeb6d5a8d6815abce8d88216

commit 98431efc18fa6cefdeb6d5a8d6815abce8d88216
Author: Huiwei Lu <huiweilu at mcs.anl.gov>
Date:   Thu Sep 5 18:19:43 2013 -0500

    Adding a test case for MPI_Comm_idup
    
    To cover the case when multiple communicators are created by
    MPI_Comm_idup.
    
    Signed-off-by: Pavan Balaji <balaji at mcs.anl.gov>

diff --git a/test/mpi/comm/Makefile.am b/test/mpi/comm/Makefile.am
index e5438e5..b46859a 100644
--- a/test/mpi/comm/Makefile.am
+++ b/test/mpi/comm/Makefile.am
@@ -35,4 +35,5 @@ noinst_PROGRAMS =     \
     comm_group_rand   \
     probe-intercomm   \
     comm_idup         \
+    comm_idup_mul     \
     comm_info
diff --git a/test/mpi/comm/comm_idup_mul.c b/test/mpi/comm/comm_idup_mul.c
new file mode 100644
index 0000000..d294d2d
--- /dev/null
+++ b/test/mpi/comm/comm_idup_mul.c
@@ -0,0 +1,39 @@
+/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
+/*
+ *  (C) 2012 by Argonne National Laboratory.
+ *      See COPYRIGHT in top-level directory.
+ */
+
+/*
+ * Test creating multiple communicators with MPI_Comm_idup.
+ */
+
+#include <stdio.h>
+#include <mpi.h>
+
+#define NUM_ITER    2
+
+int main(int argc, char **argv)
+{
+    int i, rank;
+    MPI_Comm comms[NUM_ITER];
+    MPI_Request req[NUM_ITER];
+
+    MPI_Init(&argc, &argv);
+    MPI_Comm_rank(MPI_COMM_WORLD, &rank);
+
+    for (i = 0; i < NUM_ITER; i++)
+        MPI_Comm_idup(MPI_COMM_WORLD, &comms[i], &req[i]);
+
+    MPI_Waitall(NUM_ITER, req, MPI_STATUSES_IGNORE);
+
+    for (i = 0; i < NUM_ITER; i++)
+        MPI_Comm_free(&comms[i]);
+
+    if (rank == 0)
+        printf(" No Errors\n");
+
+    MPI_Finalize();
+
+    return 0;
+}
diff --git a/test/mpi/comm/testlist b/test/mpi/comm/testlist
index 65ce0da..25ad7f5 100644
--- a/test/mpi/comm/testlist
+++ b/test/mpi/comm/testlist
@@ -27,6 +27,7 @@ comm_group_rand 8 mpiversion=3.0
 comm_idup 2 mpiversion=3.0
 comm_idup 4 mpiversion=3.0
 comm_idup 9 mpiversion=3.0
+comm_idup_mul 2 mpiversion=3.0
 dup_with_info 2 mpiversion=3.0
 dup_with_info 4 mpiversion=3.0
 dup_with_info 9 mpiversion=3.0

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

Summary of changes:
 test/mpi/.gitignore           |    1 +
 test/mpi/comm/Makefile.am     |    1 +
 test/mpi/comm/comm_idup_mul.c |   39 +++++++++++++++++++++++++++++++++++++++
 test/mpi/comm/testlist        |    1 +
 4 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100644 test/mpi/comm/comm_idup_mul.c


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list