[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2a1-47-g97ef2ee

Service Account noreply at mpich.org
Mon Oct 6 14:46:30 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  97ef2eeb57ef3dbad0d33da9b5e33d1735805505 (commit)
      from  322bc78b3db3b14f7e3d3dca5b78dea6d5f48143 (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/97ef2eeb57ef3dbad0d33da9b5e33d1735805505

commit 97ef2eeb57ef3dbad0d33da9b5e33d1735805505
Author: Pavan Balaji <balaji at anl.gov>
Date:   Sun Oct 5 22:54:39 2014 -0500

    Bug-fix: Expose sufficient memory as public.
    
    We were only exposing a part of the allocated buffer as public
    memory, but attempting to use all of it remotely.
    
    Thanks to Charles Archer @ Intel for reporting the error and
    contributing the fix.
    
    Signed-off-by: Min Si <msi at il.is.s.u-tokyo.ac.jp>

diff --git a/test/mpi/rma/lockcontention3.c b/test/mpi/rma/lockcontention3.c
index d70e26c..015eed6 100644
--- a/test/mpi/rma/lockcontention3.c
+++ b/test/mpi/rma/lockcontention3.c
@@ -123,7 +123,7 @@ int main( int argc, char *argv[] )
     srcbuf = malloc(RMA_SIZE*sizeof(*srcbuf));
     assert(srcbuf);
 
-    MPI_Win_create( rmabuffer, bufsize, sizeof(int), MPI_INFO_NULL,
+    MPI_Win_create( rmabuffer, bufsize * sizeof(int), sizeof(int), MPI_INFO_NULL,
 		    MPI_COMM_WORLD, &win );
     
     /* Run a sequence of tests */

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

Summary of changes:
 test/mpi/rma/lockcontention3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list