[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2rc1-21-gb562566

Service Account noreply at mpich.org
Fri Oct 30 16:27:33 CDT 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  b5625665e0bbf4df1e8c44a18b7a9634e0ebea39 (commit)
      from  400ec2c587d340f65035342ddf0d7015187e7976 (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/b5625665e0bbf4df1e8c44a18b7a9634e0ebea39

commit b5625665e0bbf4df1e8c44a18b7a9634e0ebea39
Author: Hari Subramoni <subramoni.1 at osu.edu>
Date:   Fri Oct 30 14:47:37 2015 -0500

    test/mpi/pt2pt: check large message count
    
    MPICH now manages byte counts in MPI_Status > INT_MAX, so this
    check should be performed.

diff --git a/test/mpi/pt2pt/large_message.c b/test/mpi/pt2pt/large_message.c
index 8c343e5..cc0526a 100644
--- a/test/mpi/pt2pt/large_message.c
+++ b/test/mpi/pt2pt/large_message.c
@@ -15,6 +15,7 @@ int main(int argc, char *argv[])
 {
     int ierr, i, size, rank;
     int cnt = 270000000;
+    int stat_cnt = 0;
     MPI_Status status;
     long long *cols;
     int errs = 0;
@@ -57,8 +58,11 @@ int main(int argc, char *argv[])
         for (i = 0; i < cnt; i++)
             cols[i] = -1;
         ierr = MPI_Recv(cols, cnt, MPI_LONG_LONG_INT, 0, 0, MPI_COMM_WORLD, &status);
-        /* ierr = MPI_Get_count(&status,MPI_LONG_LONG_INT,&cnt);
-         * Get_count still fails because count is not 64 bit */
+        ierr = MPI_Get_count(&status,MPI_LONG_LONG_INT,&stat_cnt);
+        if (cnt != stat_cnt) {
+            fprintf(stderr, "Output of MPI_Get_count (%d) does not match expected count (%d).\n", stat_cnt, cnt);
+            errs++;
+        }
         for (i = 0; i < cnt; i++) {
             if (cols[i] != i) {
                 /*printf("Rank %d, cols[i]=%lld, should be %d\n", rank, cols[i], i); */

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

Summary of changes:
 test/mpi/pt2pt/large_message.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list