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 3d356c72cd87c744dd20f900f5c9db75aef53a2f (commit) from a56be0e75cde4afa6aeb21887cec2d6c2f74c355 (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/3d356c72cd87c744dd20f900f5c9db75ae... commit 3d356c72cd87c744dd20f900f5c9db75aef53a2f Author: Pavan Balaji <[email protected]> Date: Wed Aug 7 20:35:07 2013 -0500 Trigger the RMA error more frequently. Increase the number of RMA operations issued within the epoch. The error seems to happen rarely, so increasing the number of RMA operations increases the probability of it occurring. Signed-off-by: Xin Zhao <[email protected]> diff --git a/test/mpi/errors/rma/cas_type_check.c b/test/mpi/errors/rma/cas_type_check.c index 3302441..d0993cb 100644 --- a/test/mpi/errors/rma/cas_type_check.c +++ b/test/mpi/errors/rma/cas_type_check.c @@ -11,7 +11,7 @@ #define CAS_CHECK_TYPE(c_type, mpi_type, expected_err) \ do { \ - int err, err_class; \ + int err, err_class, i; \ c_type val, cmp_val; \ c_type buf, res; \ MPI_Win win; \ @@ -24,10 +24,12 @@ do { \ MPI_Win_set_errhandler( win, MPI_ERRORS_RETURN ); \ \ MPI_Win_fence( MPI_MODE_NOPRECEDE, win ); \ + for (i = 0; i < 10000; i++) { \ err = MPI_Compare_and_swap( &val, &cmp_val, &res, \ mpi_type, 0, 0, win ); \ MPI_Error_class( err, &err_class ); \ assert( err_class == expected_err ); \ + } \ MPI_Win_fence( MPI_MODE_NOSUCCEED, win); \ \ MPI_Win_free( &win ); \ ----------------------------------------------------------------------- Summary of changes: test/mpi/errors/rma/cas_type_check.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) hooks/post-receive -- MPICH primary repository