[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-38-gb653dd1

Service Account noreply at mpich.org
Fri Jan 1 15:14:00 CST 2016

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  b653dd1903e3d4fdad0552b50441bd5e6d7117d2 (commit)
      from  f53a662b5ca97fc2a0556f5f5c9ed5bd960f78bf (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 b653dd1903e3d4fdad0552b50441bd5e6d7117d2
Author: Jeff Hammond <jeff.science at gmail.com>
Date:   Fri Jan 1 11:59:55 2016 -0800

    test/mpi/rma: abort derived-acc-flush_local if np<3
    this test requires 3+ procs to validate. abort if np<3 instead of
    failing, which dumps a lot of output. Refs #2322

diff --git a/test/mpi/rma/derived-acc-flush_local.c b/test/mpi/rma/derived-acc-flush_local.c
index a45ef06..032a022 100644
--- a/test/mpi/rma/derived-acc-flush_local.c
+++ b/test/mpi/rma/derived-acc-flush_local.c
@@ -37,6 +37,11 @@ int main(int argc, char *argv[])
     MPI_Comm_size(MPI_COMM_WORLD, &nproc);
     MPI_Comm_rank(MPI_COMM_WORLD, &rank);
+    if (nproc < 3) {
+        fprintf(stderr, "Run this program with at least 3 processes\n");
+        MPI_Abort(MPI_COMM_WORLD, 1);
+    }
     MPI_Alloc_mem(sizeof(int) * DATA_SIZE, MPI_INFO_NULL, &orig_buf);
     MPI_Alloc_mem(sizeof(int) * DATA_SIZE, MPI_INFO_NULL, &tar_buf);


Summary of changes:
 test/mpi/rma/derived-acc-flush_local.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

MPICH primary repository

More information about the commits mailing list