[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2a2-17-g230c2df

Service Account noreply at mpich.org
Tue Nov 25 09:48:41 CST 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  230c2df337b4d450e84b39e9a2093aa33432b484 (commit)
      from  8a0887b9726c8c466b3fed6cc0c6ff42468a2aee (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/230c2df337b4d450e84b39e9a2093aa33432b484

commit 230c2df337b4d450e84b39e9a2093aa33432b484
Author: Paul Coffman <pkcoff at us.ibm.com>
Date:   Mon Nov 24 21:29:58 2014 -0600

    romio gpfs: select correct read buffer
    
    ROMIO GPFSMPIO_P2PCONTIG threaded read needs to toggle first read buffer
    
    When using both the GPFSMPIO_P2PCONTIG and GPFSMPIO_PTHREADIO
    optimizations there was a correctness bug when reading where for the
    first round the read buffer did not toggle to the two-phase buffer for
    the pthread reader, resulting in diseminating the data from the wrong
    buffer.  The fix is to do the toggle after the first read.
    
    Signed-off-by: Paul Coffman <pkcoff at us.ibm.com>
    Signed-off-by: Rob Latham <robl at mcs.anl.gov>

diff --git a/src/mpi/romio/adio/common/p2p_aggregation.c b/src/mpi/romio/adio/common/p2p_aggregation.c
index c7c1800..292ba47 100644
--- a/src/mpi/romio/adio/common/p2p_aggregation.c
+++ b/src/mpi/romio/adio/common/p2p_aggregation.c
@@ -667,6 +667,7 @@ void ADIOI_P2PContigReadAggregation(ADIO_File fd,
 		ADIO_ReadContig(fd, read_buf,amountDataToReadThisRound,
 			MPI_BYTE, ADIO_EXPLICIT_OFFSET, currentRoundFDStart,
 			&status, error_code);
+        currentReadBuf = 1;
 
 #ifdef ROMIO_GPFS
 		endTimeBase = MPI_Wtime();

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

Summary of changes:
 src/mpi/romio/adio/common/p2p_aggregation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list