1
1
openmpi/ompi/request
Josh Hursey 5af13d0d86 Adjust patch in r26172 to only set the MPI_ERROR field in the status object returned from MPI_Waitall instead of using the internal req_status object to carry it around.
Note that the previous patch allowed the following test to -pass-:
  ompi-tests/mpich_tester/mpich_pt2pt/truncmult.c

This patch makes that test -fail- due to the assumption that MPI_Wait will update the status.MPI_ERROR field. In Open MPI we do not do this, so the MPI_ERROR field being inspected will remain set to MPI_ERR_PENDING. See comments in req_wait.c for why we do this.

If we change the test to not inspect the MPI_ERROR field after calling MPI_Wait successfully, then the test would pass correctly with this patch.

This change was made per discussion on the below email thread:
  http://www.open-mpi.org/community/lists/devel/2012/03/10753.php

This commit was SVN r26177.

The following SVN revision numbers were found above:
  r26172 --> open-mpi/ompi@03a33417d5
2012-03-22 14:09:19 +00:00
..
grequest.c Per the discussion yesterday, remove all use of MPI_Flogical -- it's 2009-06-02 12:04:17 +00:00
grequest.h - Replace combinations of 2009-08-20 11:42:18 +00:00
Makefile.am Revert the prior change out from the individual .h files - the problem was in the Makefile.am's, causing the make dist to fail. 2009-06-11 03:15:47 +00:00
req_test.c Adjust patch in r26172 to only set the MPI_ERROR field in the status object returned from MPI_Waitall instead of using the internal req_status object to carry it around. 2012-03-22 14:09:19 +00:00
req_wait.c Adjust patch in r26172 to only set the MPI_ERROR field in the status object returned from MPI_Waitall instead of using the internal req_status object to carry it around. 2012-03-22 14:09:19 +00:00
request_dbg.h This commit fixes trac:1931. By separating out structures and defines used by 2009-06-10 14:57:28 +00:00
request_default.h This patch introduces customisable wait/test for requests as discussed at the face-to-face ompi meeting in Paris. 2007-12-06 09:23:44 +00:00
request.c Add support for MPI_ERR_PENDING - Per MPI 2.2 p 60 2012-03-21 17:46:15 +00:00
request.h Adjust patch in r26172 to only set the MPI_ERROR field in the status object returned from MPI_Waitall instead of using the internal req_status object to carry it around. 2012-03-22 14:09:19 +00:00