[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-250-gb47152a

Service Account noreply at mpich.org
Tue May 20 09:58:46 CDT 2014


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  b47152a4910efc6e4a6d176684807b85008909c8 (commit)
      from  9827c6c39bf6a55d5d32eebfb54e16db4002b7a2 (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/b47152a4910efc6e4a6d176684807b85008909c8

commit b47152a4910efc6e4a6d176684807b85008909c8
Author: Nysal Jan K.A <jnysal at in.ibm.com>
Date:   Thu May 15 19:10:11 2014 +0530

    Fix vecblklen validation failure on power arch
    
    The default char datatype on power arch is unsigned.
    The following signed vs unsigned comparison thus fails:
    
      if (*p != -1) {
        errs++;
        fprintf( stderr, "[%d,%d,%d]expected -1 but saw %d\n",
                 i, j, k, *p );
      }
    
    Explicitly specify a signed char
    
    Closes #2091
    
    Signed-off-by: Rob Latham <robl at mcs.anl.gov>

diff --git a/test/mpi/datatype/hvecblklen.c b/test/mpi/datatype/hvecblklen.c
index 63fc417..d9a6aa5 100644
--- a/test/mpi/datatype/hvecblklen.c
+++ b/test/mpi/datatype/hvecblklen.c
@@ -16,7 +16,7 @@ int main( int argc, char *argv[] )
 {
     MPI_Datatype ot, ot2, newtype;
     int position, psize, insize, outsize;
-    char *inbuf=0, *outbuf=0, *pbuf=0, *p;
+    signed char *inbuf=0, *outbuf=0, *pbuf=0, *p;
     int  i, j, k;
     int  errs = 0;
     int  veccount=16, stride=16;
diff --git a/test/mpi/datatype/vecblklen.c b/test/mpi/datatype/vecblklen.c
index 1dc4c55..cfe0733 100644
--- a/test/mpi/datatype/vecblklen.c
+++ b/test/mpi/datatype/vecblklen.c
@@ -16,7 +16,7 @@ int main( int argc, char *argv[] )
 {
     MPI_Datatype ot, ot2, newtype;
     int position, psize, insize, outsize;
-    char *inbuf=0, *outbuf=0, *pbuf=0, *p;
+    signed char *inbuf=0, *outbuf=0, *pbuf=0, *p;
     int  i, j, k;
     int  errs = 0;
     int  veccount=16, stride=16;

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

Summary of changes:
 test/mpi/datatype/hvecblklen.c |    2 +-
 test/mpi/datatype/vecblklen.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list