[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-430-g602605b

mysql vizuser noreply at mpich.org
Thu Aug 1 21:38:16 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  602605b67eab52c0d4eaf6b2a3b2580a7f1da0d6 (commit)
      from  3e6b4e15c386b8bc6f2e7fea20f1cfc15c55487c (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/602605b67eab52c0d4eaf6b2a3b2580a7f1da0d6

commit 602605b67eab52c0d4eaf6b2a3b2580a7f1da0d6
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Thu Aug 1 14:01:15 2013 -0500

    Created a new test for a large number of outstanding RMA operations.
    
    This seems to fail with MPICH for >= 4096 back-to-back RMA operations.
    
    Signed-off-by: Xin Zhao <xinzhao3 at illinois.edu>

diff --git a/test/mpi/rma/Makefile.am b/test/mpi/rma/Makefile.am
index 8c88221..273d921 100644
--- a/test/mpi/rma/Makefile.am
+++ b/test/mpi/rma/Makefile.am
@@ -69,6 +69,7 @@ noinst_PROGRAMS =          \
     rmazero                \
     mixedsync              \
     manyrma2		   \
+    manyrma3		   \
     selfrma                \
     strided_acc_onelock    \
     strided_putget_indexed \
diff --git a/test/mpi/rma/manyrma3.c b/test/mpi/rma/manyrma3.c
new file mode 100644
index 0000000..ee222a9
--- /dev/null
+++ b/test/mpi/rma/manyrma3.c
@@ -0,0 +1,35 @@
+/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
+/*
+ *  (C) 2010 by Argonne National Laboratory.
+ *      See COPYRIGHT in top-level directory.
+ */
+
+#include "mpi.h"
+#include <stdio.h>
+
+#define MAX_COUNT 4096
+
+int main(int argc, char *argv[])
+{
+    int i, winbuf, one = 1, rank;
+    MPI_Win win;
+
+    MPI_Init(NULL, NULL);
+    MPI_Comm_rank(MPI_COMM_WORLD, &rank);
+
+    MPI_Win_create(&winbuf, sizeof(int), sizeof(int), MPI_INFO_NULL, MPI_COMM_WORLD, &win);
+
+    MPI_Win_fence(0, win);
+    for (i = 0; i < MAX_COUNT; i++)
+        MPI_Accumulate(&one, 1, MPI_INT, 0, 0, 1, MPI_INT, MPI_SUM, win);
+    MPI_Win_fence(0, win);
+
+    MPI_Win_free(&win);
+
+    if (rank == 0)
+        printf(" No Errors\n");
+
+    MPI_Finalize();
+
+    return 0;
+}
diff --git a/test/mpi/rma/testlist b/test/mpi/rma/testlist
index d69d4ed..ccc7aca 100644
--- a/test/mpi/rma/testlist
+++ b/test/mpi/rma/testlist
@@ -65,6 +65,7 @@ put_base 2
 put_bottom 2
 win_flavors 4 mpiversion=3.0
 manyrma2 2 timeLimit=500
+manyrma3 2
 win_shared 4 mpiversion=3.0
 win_shared_noncontig 4 mpiversion=3.0
 win_shared_noncontig_put 4 mpiversion=3.0

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

Summary of changes:
 test/mpi/rma/Makefile.am |    1 +
 test/mpi/rma/manyrma3.c  |   35 +++++++++++++++++++++++++++++++++++
 test/mpi/rma/testlist    |    1 +
 3 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 test/mpi/rma/manyrma3.c


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list