[mpich-devel] Question about Fortran MPROBE tests
thakur at mcs.anl.gov
Tue Apr 30 15:23:13 CDT 2013
For Mprobe, the standard says
"The call matches the same message that would have been received by a call to MPI_RECV(..., source, tag, comm, status) executed at the same point in the program and returns in status the same value that would have been returned by MPI_RECV."
For MPI_Recv, it says
"In general, message-passing calls do not modify the value of the error code field of status variables. This field may be updated only by the functions in Section 3.7.5 which return multiple statuses. The field is updated if and only if such function returns with an error code of MPI_ERR_IN_STATUS."
On Apr 30, 2013, at 2:10 PM, William Gropp wrote:
> I'm getting failures in the Fortran version of the MPROBE tests because the test assumes that STATUS is an INOUT argument, and it sets the ERROR field and then checks that the value is unchanged. I don't see the requirement that the value of the MPI_ERROR field be unchanged. Is this an error in the test or is there another part of the standard of which I've forgotten?
> William Gropp
> Director, Parallel Computing Institute
> Deputy Director for Research
> Institute for Advanced Computing Applications and Technologies
> Thomas M. Siebel Chair in Computer Science
> University of Illinois Urbana-Champaign
More information about the devel